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

Re: New paragraph definition for { } motions

Expand Messages
  • Andy Wokula
    ... At least for Normal mode: if &foldopen =~ block normal! zv endif -- Andy --~--~---------~--~----~------------~-------~--~----~ You received this message
    Message 1 of 4 , Sep 7, 2008
    • 0 Attachment
      Teemu Likonen schrieb:
      > Andy Wokula wrote (2008-09-07 11:42 +0200):
      >
      >> " see if the following works for you:
      >
      > Thank you very much. It's almost perfect and I started using it already.
      > The only issue I found is that when entering to a closed fold the fold
      > remains closed while the cursor moves inside it. I didn't manage to
      > solve the issue myself yet.

      At least for Normal mode:

      if &foldopen =~ "block"
      normal! zv
      endif

      --
      Andy



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