select & search


Ⅰ. 插件描述

an useful vim plugin: select text in v mode, then press n to search next one (N for prev one)

Ⅱ. 基本信息

创建日期:  2014-01-06
使用用户:  7
Github星:  10
插件作者:  luo chen

Ⅲ. 安装方法

使用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/plugin or vimfiles/plugin
  • second, add the follow sentences to your .vimrc or _vimrc :

    let g:select_and_search_active = 1
  • third, restart your vim and enjoy coding.

Configuration:

  • let g:select_and_search_active = 2 will not jump when pressing the first n or N
  • let g:select_and_search_active = 3 will map * instead of n and N

**Rate this script if you like it,
and i'll appreciate it and improve this plugin for you because of your support !

添加新评论