alias vim='nvim' if neovim is installed

This commit is contained in:
Henrik Lissner 2015-10-04 22:29:29 -04:00
parent 6e4ece0975
commit 00896c7be6

View file

@ -45,6 +45,7 @@ if is-callable 'transmission-remote'; then
fi fi
# Editors # Editors
is-callable 'nvim' && alias vim='nvim'
v() { vim ${@:-.}; } # Open in vim v() { vim ${@:-.}; } # Open in vim
e() { emacsclient -n ${@:-.}; } # Open in emacs (daemon) e() { emacsclient -n ${@:-.}; } # Open in emacs (daemon)
ee() { # emacs in project root ee() { # emacs in project root