summaryrefslogtreecommitdiff
path: root/.config/selected_editor
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-07-10 18:05:37 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-07-10 18:05:37 -0400
commit79603171010f907ef037213b7ec6cbf5f33258c1 (patch)
tree33ca779e6a691e582fe73fefbf32349d75e110ba /.config/selected_editor
parenta0b0e2faf634625c2ae1981cb1a5604648ad8334 (diff)
stuff
Diffstat (limited to '.config/selected_editor')
-rw-r--r--.config/selected_editor3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/selected_editor b/.config/selected_editor
index 7631487..eca2482 100644
--- a/.config/selected_editor
+++ b/.config/selected_editor
@@ -1,4 +1,7 @@
# Generated by /usr/bin/select-editor
SELECTED_EDITOR="emacsclient -a '' -c"
+if [[ -n $SSH_CONNECTION ]]; then
+ SELECTED_EDITOR+=' -nw'
+fi
ALTERNATE_EDITOR='nano'
VISUAL="$SELECTED_EDITOR"