4 ms·
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
by ssayols 8y ago
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.
- 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.