commit 9ff64de8577b88d2433e3a1c6bee391298692010
parent e943ff215dc4f6d20bcd29bfc30f9a04fb6b464f
Author: Chris Bracken <chris@bracken.jp>
Date: Wed, 7 Oct 2015 21:28:35 -0700
Use MacVim instead of sysem vim on OS X
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/.aliases b/.aliases
@@ -18,6 +18,12 @@ fi
# suppress gvim noise
alias gvim='gvim 2> /dev/null'
+# Alias vim on OS X
+if [[ $(uname) == Darwin && \
+ -x /Applications/MacVim.app/Contents/MacOS/Vim ]]; then
+ alias vim=/Applications/MacVim.app/Contents/MacOS/Vim
+fi
+
# more ls aliases
alias ll='ls -l'
alias la='ls -Al'