From: Simon Ruderich Date: Tue, 28 Oct 2008 16:12:10 +0000 (+0100) Subject: Added Vim aliases for zsh. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=e4506773c2b11bde762743bde5cfb0b4cc429010;p=config%2Fdotfiles.git Added Vim aliases for zsh. --- diff --git a/zsh/rc b/zsh/rc index e7d243a..34c9955 100644 --- a/zsh/rc +++ b/zsh/rc @@ -97,6 +97,16 @@ alias -g D='2>&1 | colordiff L' # Simplify calls to grep. alias -g G='| grep' +# Multiple files given to Vim are opened in tabs. +alias vim='vim -p' +# Shortcuts for Vim. +alias v='vim' +alias vi='vim' + +# Exit binding like in Vim. +alias :q='exit' + + # Improved ls which displays the files in columns (-C), visualises directories, # links and other special files (-F) and pages everything through less (L). #