Use vim, when possible.
This commit is contained in:
parent
9d315b6ee1
commit
940c3c3e2f
4
.bashrc
4
.bashrc
|
@ -40,8 +40,8 @@ getkey() {
|
|||
#--------------------------------------------------------------------------------
|
||||
# The best editor
|
||||
#--------------------------------------------------------------------------------
|
||||
alias vi=vim
|
||||
export EDITOR=vim
|
||||
[[ -x $(which vim 2>/dev/null) ]] && alias vi=vim
|
||||
export EDITOR=vi
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue