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

Re: Folding and the command line

Expand Messages
  • Adam Krolnik
    ... file, or ... Extra credit for #2, but will settle for #1. Tim did show that % vim +55 -c norm zO file Seems to do #2. but I d be great to have this
    Message 1 of 8 , Nov 2, 2006
    • 0 Attachment
      > You asked, "What is your foldmethod"
      > set foldmethod=indent
      > set foldlevel=0

      >Please clarify what you ask:
      >(1) when vim is invoked with +num option, do not fold anything in the
      file, or
      >(2) when vim is invoked with +num option, fold all folds except the
      > fold containing the current line ?

      Extra credit for #2, but will settle for #1.

      Tim did show that

      % vim +55 -c 'norm zO' file

      Seems to do #2. but I'd be great to have this functionality with the
      simpler command line

      % vim +55 file

      --
      Soli Deo Gloria
      Adam Krolnik
      Director of Design Verification
      VeriSilicon Inc.
      Plano TX. 75074
      Co-author "Assertion-Based Design"
    Your message has been successfully submitted and would be delivered to recipients shortly.