Ⅰ. 插件描述
an useful vim plugin: select text in v mode, then press n to search next one (N for prev one)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'luochen1990/select-search'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'luochen1990/select-search'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'luochen1990/select-search'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/luochen1990/select-and-search
Ⅳ. 文档说明
Select & Search
select text in v mode, then press n to search next one (N for prev one)
you can also find this plugin in www.vim.org here.
Install & Configuration:
Install via Vundle:
Bundle 'luochen1990/select-and-search'- add this to your vimrc:
let g:select_and_search_active = 1
Install Manually:
- first, put
rainbow.vim(this file) to dir~/.vim/pluginorvimfiles/plugin second, add the follow sentences to your
.vimrcor_vimrc:let g:select_and_search_active = 1- third, restart your vim and enjoy coding.
Configuration:
let g:select_and_search_active = 2will not jump when pressing the firstnorNlet g:select_and_search_active = 3will map*instead ofnandN
**Rate this script if you like it,
and i'll appreciate it and improve this plugin for you because of your support !