Created
January 16, 2010 13:54
-
-
Save namutaka/278828 to your computer and use it in GitHub Desktop.
script for git-diff with MacVim
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
#!/bin/sh | |
#git_diff_macvim | |
mvim --servername GITDIFF --remote-tab-silent +"vertical diffsplit $2|wincmd w" "$5" | |
sleep 0.1 | |
SN=`mvim --serverlist | grep "GITDIFF"` | |
until [ "$SN" == "GITDIFF" ]; do | |
sleep 0.1 | |
SN=`mvim --serverlist | grep "GITDIFF"` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment