neovim: alias nvim as vim if found

This commit is contained in:
Gregor Bückendorf 2018-12-06 21:22:26 +01:00
parent 3bb8ad24ee
commit 457f265f36

6
.bashrc.d/neovim.bashrc Normal file
View file

@ -0,0 +1,6 @@
# Use neovim instead of vim if it is present
if command -v nvim >/dev/null 2>&1
then
alias vim="nvim"
fi