Add vim alias to nvim

main
Buddy Sandidge 2 years ago
parent f19ee1ad71
commit f014436885

@ -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

Loading…
Cancel
Save