Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ssayols
· 8y ago · 0 comments
Diff mode, delicious! Just edit the 2 files with vim -O file1 file2, and in vim do <ESC>:diffthis<enter>C-w<right>:diffthis<enter>, and voila!
Vimgrep and the quickfix window are also pretty cool.
Comments
[–]
dllthomas
8y ago
:diffoff is another great thing to know, particularly when using vimdiff to merge things (e.g. in git). I find that turning diffing off and on for various windows can more quickly give a clear picture of what changed where.