-
Notifications
You must be signed in to change notification settings - Fork 1
Diffing with Vim
Mayuresh Kadu edited this page Jun 28, 2017
·
1 revision
Cheat sheet for keystrokes, vim options, etc for working with file differences using Vim (better known as vimdiff).
]c - next difference
[c - previous difference
do - diff obtain
dp - diff put
zo - open folded text
zc - close folded text
:diffupdate - re-scan the files for differences
<Ctrl> ww - Switch between windows
:set diffopt+=iwhite - ignore whitespaces in diff
:set syn=ff - switch off colours in current window