path: root/sh
diff options
authorTom Ryder <tom@sanctum.geek.nz>2019-01-07 09:48:06 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-01-07 09:48:06 +1300
commitfc84b06d3736832a8dbc2b8c8721d55ccad61fa5 (patch)
tree97c993baaddcbe79b064c1fede46d27f4503cffc /sh
parentRemove superfluous unmappings for mail filetype (diff)
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')
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'
- VISUAL='vi'
+# For a visual editor, use whichever kind of vi we get when we invoke 'vi'
export VISUAL