sponsor Vim development Vim logo Vim Book Ad

SearchFold : Search a file by folding non-matching lines with optional context.

 script karma  Rating 12/3, Downloaded by 433    Comments, bugs, improvements  Vim wiki

created by
Dan Janus
 
script type
utility
 
description
SearchFold is a good script to have around. You give it a search string to find and folds everything except for the lines where the string matches. By default is keeps some non-matching lines around so you can get an idea of where you are in the file and gives you the ability to expand “the view” for a particular match to get more context. After you are done looking around you can “quit” the script and keep the fold or go back to the file as it was (restoring any previous folds).

Check  out this page for a screen shot.
http://juan.boxfi.com/vim-plugins/#searchfold
 
install details
1. Read the section titled 'Options'
2. Setup any variables need in your vimrc file
3. Copy 'searchfold.vim' to your 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
searchfold.vim 1.0 2007-02-23 6.0 Dan Janus Initial upload
ip used for rating: 54.196.201.253

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.
   
SourceForge.net Logo