Use vim as EDITOR if available

This commit is contained in:
Anthony Rose 2022-02-20 19:32:49 +00:00
parent 71a053c8ba
commit 5b57596510

View file

@ -73,6 +73,11 @@ then
export GPG_TTY=$(tty)
fi
if test -x /usr/bin/vim
then
export EDITOR="/usr/bin/vim -f"
fi
shopt -s histappend
bind '"\e[1;5C": forward-word'
bind '"\e[1;5D": backward-word'