bennyyip / is.vim

incremental search improved - successor of incsearch.vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is.vim - incremental search improved

Build Status

is.vim improves search feature. is.vim is successor of incsearch.vim.

'is' is abbreviation of 'incsearch'.

✨ Feature ✨

Automatically clear highlight (|:nohlsearch|) after cursor moved and some other autocmd event.

is-auto-nohlsearch

Incremental scroll to next match feature.

is-scroll

πŸ”Œ Integration πŸ”Œ

is.vim can integrate with other search enhancment plugins.

Integration of vim-anzu

https://github.com/osyo-manga/vim-anzu display search position like (2/10) for n/N commands.

map n <Plug>(is-nohl)<Plug>(anzu-n-with-echo)
map N <Plug>(is-nohl)<Plug>(anzu-N-with-echo)

Integration of vim-asterisk

https://github.com/haya14busa/vim-asterisk provides improved * motions.

  • star (*) without cursor move
  • visual star feature (search selected text)
  • etc..
map *  <Plug>(asterisk-z*)<Plug>(is-nohl-1)
map g* <Plug>(asterisk-gz*)<Plug>(is-nohl-1)
map #  <Plug>(asterisk-z#)<Plug>(is-nohl-1)
map g# <Plug>(asterisk-gz#)<Plug>(is-nohl-1)

🐦 Author 🐦

haya14busa (https://github.com/haya14busa)

πŸ“˜ Document πŸ“˜

:h is.vim

About

incremental search improved - successor of incsearch.vim

License:MIT License


Languages

Language:Vim Script 95.3%Language:Shell 4.7%