Skip to content

Instantly share code, notes, and snippets.

@rubyonrailstutor
Created June 20, 2013 04:46
Show Gist options
  • Save rubyonrailstutor/5820368 to your computer and use it in GitHub Desktop.
Save rubyonrailstutor/5820368 to your computer and use it in GitHub Desktop.
excerpt from ~/.bash_profile
if [ -d /Applications/MacVim.app/ ]; then
# use MacVim over built-in Mac OS version
export PATH="/Applications/MacVim.app/Contents/MacOS:$PATH"
alias mvim='MacVim'
alias vim='Vim'
alias vi='Vim'
export EDITOR='/Applications/MacVim.app/Contents/MacOS/Vim'
alias vimdiff="Vim -d"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment