Vimdiff: The most frequently asked for is folding
If you guys have started using vimdiff lately, here are the simplest and the first step to use Vimdiff.
First, you can type Ctrl + W and then w (be careful with the cases), then you can switch to the other split window.
Now, move focus on the diff, then type two keys:
zo (open fold)
zc (close fold)
Looks great. Now when you make any edits, then type following to recalculate the diff:
:diffupdate
If you still need more then visit: http://stackoverflow.com/questions/5288875/vimdiff-what-are-the-most-frequently-used-commands-shortcuts-that-could-get-a-n













