diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-07 09:48:06 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-07 09:48:06 +1300 |
commit | fc84b06d3736832a8dbc2b8c8721d55ccad61fa5 (patch) | |
tree | 97c993baaddcbe79b064c1fede46d27f4503cffc /sh/profile.d | |
parent | Remove superfluous unmappings for mail filetype (diff) | |
download | dotfiles-fc84b06d3736832a8dbc2b8c8721d55ccad61fa5.tar.gz dotfiles-fc84b06d3736832a8dbc2b8c8721d55ccad61fa5.zip |
Return to vi as default visual editor
This is getting in the way of my work a bit too much. I'm still
learning how to use it, but throwing myself into the deep end at this
point turned out to be a bad idea.
Diffstat (limited to 'sh/profile.d')
-rw-r--r-- | sh/profile.d/visual.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sh/profile.d/visual.sh b/sh/profile.d/visual.sh index d5280abd..50b8b423 100644 --- a/sh/profile.d/visual.sh +++ b/sh/profile.d/visual.sh @@ -1,8 +1,3 @@ -# If my Emacs wrapper is installed, use emacs as the visual editor; otherwise, -# use the system's vi -if command -v emacsm >/dev/null 2>&1 ; then - VISUAL='emacsm' -else - VISUAL='vi' -fi +# For a visual editor, use whichever kind of vi we get when we invoke 'vi' +VISUAL='vi' export VISUAL |