RE: left-overs from diff mode - A script solution!
- Andrei, everyone
I've had this functionality in my sourcecontrol diff for a while. This
request has prompted me to factor it out and add a few more features -
I haven't tested this extensively, so please let me know if it doesn't
work for you and I'll get straight on it.
From: Andrei A. Voropaev [mailto:avorop@...]
Sent: Wednesday, 5 November 2003 12:40 AM
Subject: left-overs from diff mode
Just noticed simple problem. I've opened file in gvim, then did
:vertical diffsplit file.c~
Finished viewing the differences and decided to continue with editing.
So I've simply closed the file.c~. But folding, foldcolumn and other
things from diffmode didn't go away.
Probably I can remove all of them manually or simply open document in
vim again, but it's a bit of hastle.
Is there some special command that finishes diff mode?