Question

Sometimes I'm using vimdiff and want to grab code and drop it in a 3rd window/buffer for later reference. When that window is open, though, just about everything is identified as a diff (because it's purposely different than the other two files). How can I open a window in non-diff mode while using vimdiff?

Was it helpful?

Solution

You can prevent a window from being diffed with the others by doing :diffoff in that window.

See also :h :diffoff.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top