foldsearch : fold away lines that don't match a given pattern
| script karma
Downloaded by 1379
Comments, bugs, improvements
script versions (upload new version)
|This plugin provides commands that fold away lines that don't match a specific search pattern. This pattern can be the word under the cursor, the last search pattern, a regular expression or spelling errors. There are also commands to change the context of the shown lines.
show lines which contain the word under the cursor. Default [context] is 0.
show lines which contain previous search pattern. Default [context] is 0.
show the lines that contain the regular expression. Context is 0.
show the lines that contain spelling errors.
fold again with the last used pattern
show context lines.
increment context by one line.
decrement context by one line.
set modified fold options to their previous value
* context can consist of one or two numbers. A 'unsigned' number defines the context before and after the pattern. If a number has a '-' prefix, it defines only the context before the pattern. If it has a '+' prefix, it defines only the context after a pattern.
|Copy the foldsearch.vim file to the $HOME/.vim/plugin directory. Refer to ':help add-plugin', ':help add-global-plugin' and ':help runtimepath' for more details about Vim plugins.|
Click on the package to download.
ip used for rating: 220.127.116.11