Created
December 8, 2012 22:42
-
-
Save docwhat/4242334 to your computer and use it in GitHub Desktop.
Fixing crashes with Vim and MacVim on OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for i in /usr/local/opt/vim/bin/*(N) /usr/local/opt/macvim/bin/*(N); do | |
| i=$(basename $i) | |
| alias "${i}"="env -u GEM_PATH -u GEM_HOME command ${i}" | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export GIT_EDITOR="env -u GEM_PATH -u GEM_HOME vim +1" | |
| export EDITOR="env -u GEM_PATH -u GEM_HOME vim" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment