Ⅰ. 插件描述
incremental search improved - successor of incsearch.vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'haya14busa/is-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'haya14busa/is-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'haya14busa/is-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/haya14busa/is.vim
Ⅳ. 文档说明
## is.vim - incremental search improved
is.vim improves search feature.
is.vim is successor of incsearch.vim.
'is' is abbreviation of 'incsearch'.
:sparkles: Feature :sparkles:
Automatically clear highlight (|:nohlsearch|) after cursor moved and some other autocmd event.

Incremental scroll to next match feature.

:electric_plug: Integration :electric_plug:
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):bird: Author :bird:
haya14busa (https://github.com/haya14busa)