SearchFold : Search a file by folding non-matching lines with optional context.
script karma |
Rating 12/3,
Downloaded by 954 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Juan Frias |
|
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. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|