Making vi hiding the default
This commit is contained in:
parent
44e0db8974
commit
79a4b51214
1 changed files with 3 additions and 2 deletions
5
.zshrc
5
.zshrc
|
|
@ -147,7 +147,8 @@ fi
|
||||||
if whence vim > /dev/null ; then
|
if whence vim > /dev/null ; then
|
||||||
VIM=vim
|
VIM=vim
|
||||||
if whence mvim > /dev/null ; then
|
if whence mvim > /dev/null ; then
|
||||||
VIM=mvim
|
#VIM=mvim
|
||||||
|
VIM="mvim -c 'au VimLeave * maca hide:'"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
VIM=vi
|
VIM=vi
|
||||||
|
|
@ -155,7 +156,7 @@ fi
|
||||||
export VISUAL="$VIM -f"
|
export VISUAL="$VIM -f"
|
||||||
export EDITOR="$VIM -f"
|
export EDITOR="$VIM -f"
|
||||||
alias v=$VIM
|
alias v=$VIM
|
||||||
alias vh="$VIM -c 'au VimLeave * maca hide:'"
|
alias vh="mvim -c 'au VimLeave * maca hide:'"
|
||||||
alias vi=$VIM
|
alias vi=$VIM
|
||||||
alias vr="$VIM --remote-tab"
|
alias vr="$VIM --remote-tab"
|
||||||
alias vl="$VIM --serverlist"
|
alias vl="$VIM --serverlist"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue