Skip to content

Instantly share code, notes, and snippets.

@haya14busa
Created November 2, 2013 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haya14busa/7281932 to your computer and use it in GitHub Desktop.
Save haya14busa/7281932 to your computer and use it in GitHub Desktop.
#!/bin/sh
# $5 $6 $7 $8
# MERGED LOCAL BASE REMOTE
if test -s $7
then
/usr/local/bin/vim -f -d -c 'wincmd J' $5 $6 $7 $8
else
/usr/local/bin/vim -f -d -c 'wincmd J' $5 $6 $8
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment