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

Re: opening and closing folds automatically

Expand Messages
  • Serge Rey
    ... you might want to play around with ... also see ... -- Sergio J. Rey http://typhoon.sdsu.edu/rey.html GPG fingerprint = 16DB 4934 E0F1 B386 AE81 D379
    Message 1 of 3 , Sep 30, 2001
    • 0 Attachment
      On Mon, Oct 01, 2001 at 10:48:31AM +0530, vipin aravind wrote:
      > hi guys,
      > I am using the following fold method from :h fold
      > syn region myFold start="{" end="}" transparent fold
      > syn sync fromstart
      > set foldmethod=syntax
      >
      > when I open a file I can see the folds.
      > I do
      > /foo.
      > fold which contains this string opens.
      > I type 'n' to get to next search.
      >
      > when I move out of the previous fold which was opened , I had like
      > that to be closed agaim.

      you might want to play around with
      :set foldopen=all
      :set foldclose=all

      also see
      :he folding


      --
      Sergio J. Rey http://typhoon.sdsu.edu/rey.html
      GPG fingerprint = 16DB 4934 E0F1 B386 AE81 D379 914C 33E5 F690 95DF
      Did you check the IGNOREME file? - anonymous
    • vipin aravind
      thanks, I was looking for this. vipin ... Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by
      Message 2 of 3 , Sep 30, 2001
      • 0 Attachment
        thanks, I was looking for this.
        vipin
      Your message has been successfully submitted and would be delivered to recipients shortly.