From e4506773c2b11bde762743bde5cfb0b4cc429010 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 28 Oct 2008 17:12:10 +0100 Subject: [PATCH] Added Vim aliases for zsh. --- zsh/rc | 10 ++++++++++ 1 file changed, 10 insertions(+) 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). # -- 2.45.2