Add vim alias to nvim

This commit is contained in:
Buddy Sandidge 2023-01-31 13:06:53 -08:00
parent f19ee1ad71
commit f014436885

View File

@ -4,6 +4,7 @@ alias slugify="sed -e 's/[^[:alnum:]]/-/g' | tr -s '-' | tr A-Z a-z"
if type nvim >/dev/null 2>/dev/null ; then if type nvim >/dev/null 2>/dev/null ; then
export EDITOR=nvim export EDITOR=nvim
alias vim=nvim
else else
export EDITOR=vim export EDITOR=vim
fi fi