From 79a4b51214f34ff79c3ddbcf4519db983a25a81b Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Tue, 26 Jul 2011 14:32:30 -0700 Subject: [PATCH] Making vi hiding the default --- .zshrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 19dc7fb..cf13142 100644 --- a/.zshrc +++ b/.zshrc @@ -147,7 +147,8 @@ fi if whence vim > /dev/null ; then VIM=vim if whence mvim > /dev/null ; then - VIM=mvim + #VIM=mvim + VIM="mvim -c 'au VimLeave * maca hide:'" fi else VIM=vi @@ -155,7 +156,7 @@ fi export VISUAL="$VIM -f" export EDITOR="$VIM -f" alias v=$VIM -alias vh="$VIM -c 'au VimLeave * maca hide:'" +alias vh="mvim -c 'au VimLeave * maca hide:'" alias vi=$VIM alias vr="$VIM --remote-tab" alias vl="$VIM --serverlist"