https://github.com/tjdevries/fold_search.vim
Fold around searches
https://github.com/tjdevries/fold_search.vim
Last synced: 4 months ago
JSON representation
Fold around searches
- Host: GitHub
- URL: https://github.com/tjdevries/fold_search.vim
- Owner: tjdevries
- License: mit
- Created: 2017-08-30T01:41:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-19T13:02:30.000Z (almost 9 years ago)
- Last Synced: 2025-01-16T19:26:49.571Z (over 1 year ago)
- Language: Vim script
- Size: 22.5 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fold_search.vim
Only see what you're searching for! :)
Just search the normal way you would, then type `zz`.
## Installation
```vim
call plug#begin()
" Used for cleanier code and reusable functions
Plug 'tjdevries/standard.vim'
" Used for configuration and generating menus/documentation
Plug 'tjdevries/conf.vim'
" The plugin you'd like to use :)
Plug 'tjdevries/fold_search.vim'
call plug#end()
```
## Usage
As mentioned before, trying searching for something. If you want to see only the lines that contain a match (as well as lines in the surrounding `context` (a configurable value of how many lines to show, defaulted to 1), type `zz`.
You'll then see something like this:

To leave this mode, type `zz` again!