Start using nvim where available (again)
This commit is contained in:
parent
648377fd75
commit
36afcfabb4
1 changed files with 5 additions and 2 deletions
|
@ -48,8 +48,11 @@ fi
|
||||||
[[ -d "$PERSONAL_FPATH" ]] && FPATH="$PERSONAL_FPATH:$FPATH"
|
[[ -d "$PERSONAL_FPATH" ]] && FPATH="$PERSONAL_FPATH:$FPATH"
|
||||||
|
|
||||||
# EDITOR
|
# EDITOR
|
||||||
export EDITOR=vim
|
if command -v nvim > /dev/null; then
|
||||||
export GIT_EDITOR=vim
|
export {EDITOR,GIT_EDITOR}=nvim
|
||||||
|
else
|
||||||
|
export {EDITOR,GIT_EDITOR}=vim
|
||||||
|
fi
|
||||||
|
|
||||||
# Don't let Debian distributions run compinit
|
# Don't let Debian distributions run compinit
|
||||||
skip_global_compinit=1
|
skip_global_compinit=1
|
||||||
|
|
Loading…
Reference in a new issue