home · contact · privacy
Export vim as default shell editor.
[config] / dotfiles_user_server / bashrc
index 8037b1bf89561412b3c31f19789981554b5a98d5..2409091eca0fa65110ca420b5a7d3e59b858a0a2 100644 (file)
@@ -3,6 +3,10 @@
 # Fancy colors for ls.
 alias ls="ls --color=auto"
 
+# Use vim as default editor for anything.
+export VISUAL=vim
+export EDITOR=$VISUAL
+
 # Wrapper for weechat to force local config file on it anew on each run.
 alias weechat="~/config/bin/weechat-wrapper.sh"