Ⅰ. 插件描述
An emacs-like mark multiple pluginⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'adinapoli/vim-markmultiple'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'adinapoli/vim-markmultiple'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'adinapoli/vim-markmultiple'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/adinapoli/vim-markmultiple
Ⅳ. 文档说明
vim-markmultiple
An emacs-like mark multiple plugin, inspired from this plugin:
Usage
Ctrl-n to activate and to go to the next match.
When you are tired, simply change the word under the cursor the usual way.
Customization
You can put this inside your .vimrc to customize which keybinding you want associate to
vim-markmultiple. In the example, we are using Control + m:
let g:mark_multiple_trigger = "<C-n>"Why highlighted words remain on screen?
Because you "Interrupted" the marking process without actually substituting
- If this happens, simply call
MarkMultipleClean()
Installation
Like any Pathogen bundle.
Contributes
Yes, please. Pull requests welcome.