Start using nvim where available (again)

This commit is contained in:
Andrew Tomaka 2022-09-17 09:22:45 -04:00
parent 648377fd75
commit 36afcfabb4
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -48,8 +48,11 @@ fi
[[ -d "$PERSONAL_FPATH" ]] && FPATH="$PERSONAL_FPATH:$FPATH"
# EDITOR
export EDITOR=vim
export GIT_EDITOR=vim
if command -v nvim > /dev/null; then
export {EDITOR,GIT_EDITOR}=nvim
else
export {EDITOR,GIT_EDITOR}=vim
fi
# Don't let Debian distributions run compinit
skip_global_compinit=1