sponsor Vim development Vim logo Vim Book Ad

Search unFold : Fold everything except search results

 script karma  Rating 17/7, Downloaded by 1123  Comments, bugs, improvements  Vim wiki

created by
Paul Wei
script type
This is mainly used to display log files. The program will unfold all lines except the previous search. Additional search terms can be added and unfolded.
:SFS --- search fold start
:SF   ---- additional fold
:SR   ---- reset
:SC   ---- count number found
install details
place in plugin directory

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
sf.vim 1.1 2006-03-23 6.0 Paul Wei Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.