Loading ...
Sorry, an error occurred while loading the content.

RE: left-overs from diff mode - A script solution!

Expand Messages
  • Michael Geddes
    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 -
    Message 1 of 1 , Nov 4, 2003
    • 0 Attachment
      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.

      http://www.vim.org/scripts/script.php?script_id=809


      //.ichael G.

      -----Original Message-----
      From: Andrei A. Voropaev [mailto:avorop@...]
      Sent: Wednesday, 5 November 2003 12:40 AM
      To: vim@...
      Subject: left-overs from diff mode


      Hi!

      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?

      Andrei
    Your message has been successfully submitted and would be delivered to recipients shortly.