diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-10 18:05:37 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-07-10 18:05:37 -0400 |
commit | 79603171010f907ef037213b7ec6cbf5f33258c1 (patch) | |
tree | 33ca779e6a691e582fe73fefbf32349d75e110ba /.config/selected_editor | |
parent | a0b0e2faf634625c2ae1981cb1a5604648ad8334 (diff) |
stuff
Diffstat (limited to '.config/selected_editor')
-rw-r--r-- | .config/selected_editor | 3 |
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" |