From 7f099d756fc81a453bef90ceea3d5b1a856973b4 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Tue, 12 Jun 2012 09:59:06 -0500 Subject: [PATCH] Added vim aliases file Here, I am checking for the existence of mvim. If it exists, then I will alias vim to `mvim -v` --- vim/aliases.zsh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 vim/aliases.zsh diff --git a/vim/aliases.zsh b/vim/aliases.zsh new file mode 100644 index 0000000..5e5ec5f --- /dev/null +++ b/vim/aliases.zsh @@ -0,0 +1,4 @@ +# load the macvim version of terminal vim +if which mvim &> /dev/null; then + alias vim='mvim -v' +fi