René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
Folding in vim | ||
Searching with folds
The option foldopen specifies which commands opens a fold. By default, this
option contains block,hor,mark,percent,quickfix,search,tag and undo.
As search is included in this option by default, a fold will be opened if a search target is found within a fold. To turn that behaviour off, use
:set foldopen-=search |