vim-markmultiple


Ⅰ. 插件描述

An emacs-like mark multiple plugin

Ⅱ. 基本信息

创建日期:  2012-10-04
使用用户:  16
Github星:  55
插件作者:  Alfredo Di Napoli

Ⅲ. 安装方法

使用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:

mark-multiple.el

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>"

Watch the screencast!

Why highlighted words remain on screen?

Because you "Interrupted" the marking process without actually substituting

  1. If this happens, simply call MarkMultipleClean()

Installation

Like any Pathogen bundle.

Contributes

Yes, please. Pull requests welcome.

添加新评论