Hacker News new | ask | show | jobs
by nodata 4921 days ago
Out of interest, do you have a good way to compare two parts of the same file using vimdiff without creating two files? Say a huge xml file with two nearly identical <parts></parts>?
1 comments

Yank the two parts into two new buffers (:vsplit) and do :diffthis in each