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

Re: question about cutting and pasting with xml folding

Expand Messages
  • Nico Weber
    Hi, ... does `:h foldopen ` or `:h foldclose ` help? If not, you might get a better answer at the vim_use list, because more people are subscribed to it.
    Message 1 of 2 , Jul 30, 2008
    • 0 Attachment
      Hi,

      On 30.07.2008, at 16:42, Rick wrote:

      > Not a mac vim question per se, but ...
      >
      > What I'd like to do is be able to cut a collapsed fold and paste it to
      > another portion of the xml without the folds below it expanding
      > automatically after I do the paste. For example, looking at the
      > following screen capture:
      >
      > http://img.skitch.com/20080730-feq51md8f8usbnp4a3aajn9qg8.jpg
      >
      > If I do a delete of line 1458 (dd) and then do a Paste (P) at line
      > 1339 it pastes the block just fine, but it seems to expand the other
      > sections below it which means I have to then go and manually close
      > them. Is there a way I can paste blocks without it interrupting the
      > previously closed blocks of code?

      does `:h 'foldopen'` or `:h 'foldclose'` help? If not, you might get a
      better answer at the vim_use list, because more people are subscribed
      to it.

      HTH,
      Nico

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_mac" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.