On 2006-11-02, Adam Krolnik <[EMAIL PROTECTED]> wrote:
> Hello;
> 
> I have folding enabled to fold code when I edit a file. However I would 
> like to also be able
> to view specific lines (via the option +<num> on the command line.)
> 
> Can you write code to detect this option and not fold the code ?

In addition to what Tim said, check out

    :help 'foldopen'

(The single-quotes are important.)  There might be a setting there 
that opens folds when jumped to from the shell command line.

HTH,
Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Wireless Division
                             | Spokane, Washington, USA

Reply via email to