ANDY KENNEDY <ANDY.KENNEDY <at> adtran.com> writes: >Paul.Domaskis wrote: >> Is there a way to open folds to a certain level within a range of >> lines? > > from :help folding > > OPENING AND CLOSING FOLDS > > A fold smaller than 'foldminlines' will always be displayed like it > was open. Therefore the commands below may work differently on > small folds. > > zo > zo Open one fold under the cursor. When a count is given, that > many folds deep will be opened. In Visual mode one level of > folds is opened for all lines in the selected area. > > zO > zO Open all folds under the cursor recursively. Folds that don't > contain the cursor line are unchanged. > In Visual mode it opens all folds that are in the selected > area, also those that are only partly selected.
Hi, Andy, I actually use those two commands all the time. However, I may have many dozens of nested folds in a particular range. I was hoping that there was a command that can be applied over a range that can open folds down to a depth of (say) 3. I was not able to find such a command in the help. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
