Use vim as EDITOR if available
This commit is contained in:
parent
71a053c8ba
commit
5b57596510
1 changed files with 5 additions and 0 deletions
|
@ -73,6 +73,11 @@ then
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test -x /usr/bin/vim
|
||||||
|
then
|
||||||
|
export EDITOR="/usr/bin/vim -f"
|
||||||
|
fi
|
||||||
|
|
||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
bind '"\e[1;5C": forward-word'
|
bind '"\e[1;5C": forward-word'
|
||||||
bind '"\e[1;5D": backward-word'
|
bind '"\e[1;5D": backward-word'
|
||||||
|
|
Loading…
Reference in a new issue