Skip to content

Instantly share code, notes, and snippets.

@astyagun
Created September 20, 2017 16:07
Show Gist options
  • Save astyagun/a1f365e9b99e4742cba56d204533e6f8 to your computer and use it in GitHub Desktop.
Save astyagun/a1f365e9b99e4742cba56d204533e6f8 to your computer and use it in GitHub Desktop.
Use MacVim as a Git difftool
#!/bin/sh
echo diffing file: ./$1
mvim -d -f -c 'set columns=200' -c 'normal =' "$2" "$3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment