]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
zsh/rc: Don't use vim -p.
authorSimon Ruderich <simon@ruderich.org>
Wed, 13 May 2009 13:21:30 +0000 (15:21 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 13 May 2009 13:21:30 +0000 (15:21 +0200)
I use buffers now.

zsh/rc

diff --git a/zsh/rc b/zsh/rc
index e17deede06e225861738d4706f65b0f9b7ae7589..ab18110c882173c8c251b97c3a631e0e3b8cf462 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -387,11 +387,6 @@ function ll() {
     la -l $*
 }
 
-# Multiple files given to Vim are opened in tabs, supported since Vim 7.
-if [[ ${${${(f)"$(vim --version)"}[1]#VIM - Vi IMproved }%% *} == 7* ]]; then
-    alias vim='vim -p'
-fi
-
 # I sometimes confuse editor and shell, print a warning to prevent I exit the
 # shell.
 alias :q='echo "This is not Vim!" >&2'