Ping Yin wrote: > > Thanks. With GIT_PAGER="" it works now. > Personally, I didn't like having to screw around with environment variables directly to get vimdiff to work. So I did the following: 1) Made a simple diff script gitvimdiff.sh: #!/bin/env sh vimdiff "$2" "$5" 2) git config --global diff.external ~/path/to/gitvimdiff.sh 3) git config --global pager.diff "" Now when I run git-diff it uses vimdiff (hooray) and automatically turns the pager off for me! Now only if I could get meld to work under cygwin. -- View this message in context: http://n2.nabble.com/git-difftool-tp1814817p2171934.html Sent from the git mailing list archive at Nabble.com. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html