diff 

Send to Kindle
home » snippets » vim » diff



Keys

Key Action
[c Jump backwards to the previous start of a change.  When a count is used, do it that many times.
]c Jump forwards to the next start of a change.  When a count is used, do it that many times.
do Modify the current buffer to undo difference with the other buffer. (the o in do stands for obtain.  This is the same as :diffget)
dp Modify the other buffer to undo difference with the current buffer. (the p in dp stands for put.  This is the same as :diffput)