neovim: alias nvim as vim if found
This commit is contained in:
parent
3bb8ad24ee
commit
457f265f36
1 changed files with 6 additions and 0 deletions
6
.bashrc.d/neovim.bashrc
Normal file
6
.bashrc.d/neovim.bashrc
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue