Use vim, when possible.

This commit is contained in:
Scott Wallace 2016-06-22 11:59:43 +01:00
parent 9d315b6ee1
commit 940c3c3e2f

View file

@ -40,8 +40,8 @@ getkey() {
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
# The best editor # The best editor
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
alias vi=vim [[ -x $(which vim 2>/dev/null) ]] && alias vi=vim
export EDITOR=vim export EDITOR=vi
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------