prefer helix/vim over neovim

main
Andrew Coleman 2023-01-13 08:17:11 -05:00
parent 1f3a680b71
commit b767defdc5
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
EDITOR=vi
if which nvim > /dev/null 2>&1 ; then
EDITOR=nvim;
elif which vim > /dev/null 2>&1 ; then
if command -v hx > /dev/null ; then
EDITOR=hx
elif command -v vim > /dev/null ; then
EDITOR=vim
fi
export EDITOR