[Vimoutliner] confused about folds
Steve Litt
slitt at troubleshooters.com
Mon Aug 28 21:13:21 EDT 2006
On Monday 28 August 2006 06:45 pm, Ross Boylan wrote:
> On Mon, 2006-08-28 at 18:18 -0400, Steve Litt wrote:
> [nice explanation snipped]
>
> > In summary, VO's headline expand and collapse keystrokes don't
> > necessarily reflect the concepts of outlining, but they sure are
> > convenient. I think they're brilliant.
>
> That's a good guide. I started wondering about this because I wanted,
> effectively, to apply folding levels to a subpart of an outline. For
> example, given
> A
> B
> C
> D
> E
> F
> G
> H
>
> suppose I want to move to
> A
> B
> C
> F
> with the rest folded (where this is part of bigger outline, so I can't
> just set the foldlevel globally). Is there a good way to do that?
Hi Ross,
I bet dollars to donuts there's a way, but I couldn't find it. Try :h fold and
read all the docs and experiment -- U might find a way. That's the way I
figured out the comment method of body text.
If you can't find a way, ask the list what keystroke command they think should
do that, and then create a Vim language function to do it. If U can't do
that, remind me in late September when I have more time, and I can do it. By
the way, look over Noel's Vim code -- there's a lot of really good stuff in
there. Whenever I want to do something in Vim code, I find some of Noel's
code that does something similar, and hack it til it does what I want.
HTH
SteveT
Steve Litt
Author:
* Universal Troubleshooting Process courseware
* Troubleshooting Techniques of the Successful Technologist
* Manager's Guide to Technical Troubleshooting
* Twenty Eight Tales of Troubleshooting
* Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm
More information about the VimOutliner
mailing list