showhide.vim : Show or Hide lines by folding based on pattern
| script karma |
Rating 90/30,
Downloaded by 2468 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Amit Sethi |
| |
| script type |
| utility |
| |
| description |
A simple script to quickly show/hide lines of interest. Useful for viewing log files or other huge files in general.
Uasge:
zs Show all lines containing word under cursor
zh Hide all lines containing word under cursor
:SHOW word pattern ...
Show lines containing either word or pattern
:HIDE word pattern ...
Hide lines containing either word or pattern
-- pattern can be any regular expression --
See ":h fold" for commands related to folds, e.g.,
zn Open all folds
|
| |
| install details |
| Copy showhide.vim to your .vim/plugin directory |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|