Diffing tip for MacVim users
• Chris Liscio
• Chris Liscio
Stick this in your ~/.bash_profile:
alias mvdiff="mvim -R - &>/dev/null"
Now, whenever you want to view diffs of changes in your favorite SCM, it's as simple as doing something like this:
hg diff | mvdiff
I can't seem to wrap my head around the fancy diff tools that are out there, and unified diffs + syntax highlighting seem to work best for my eyes.
Hope this helps!