Label mode for search.
Fork of sneak.vim that hooks sneak's label mode into vim's native search.
It's is essentially a light-weight re-implementation of incsearch-easymotion.vim or easymotion's n-character search motion. One shortcoming with those is that they don't have regex support. As this plugin only hooks in at the end of vim's native search, you get vim's full power.
Just search something with /
, and if there are multiple matches visible in your window,
labels will appear that allow you to jump directly to any of the matches.
- vim-plug
Plug 'thomkeh/vim-searchlabels', { 'branch': 'main' }
- Pathogen
git clone git://github.com/thomkeh/vim-searchlabels.git ~/.vim/bundle/vim-sneak
- Manual installation:
- Copy the files to your
.vim
directory.
- Copy the files to your
First, I find two characters often too limited for narrowing down my search.
Second, I don't see the point of using s
/S
when I already use /
/?
a lot.
Third, if you are in an environment where you don't have your plugins,
then using /
/?
fails gracefully (you would just get normal search).
- Sneak
- Seek
- EasyMotion
- incsearch-easymotion
- smalls
- improvedft
- clever-f
- vim-extended-ft
- Fanf,ingTastic;
Distributed under the MIT license.