alias vim='nvim' if neovim is installed
This commit is contained in:
parent
6e4ece0975
commit
00896c7be6
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue