Ⅰ. 插件描述
Vim Medium Mode - like hard mode, but less...hardⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'kbarrette/mediummode'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'kbarrette/mediummode'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'kbarrette/mediummode'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/kbarrette/mediummode
Ⅳ. 文档说明
Vim Medium Mode
Inspired by hard mode but less...hard.
Medium mode is a Vim plugin that limits character-wise motions, but does not disable
them completely. By default, medium mode will only allow two consecutive character-wise motions.
Usage
Out of the box, medium mode will be automatically turned on and configured to
listen to the usual Vim motion keys. See the documentation for configuration
instructions.
Todo
Medium mode is a work in progress. In particular, a better way to determine when
to reset the motion counter would be useful. Send a pull request if you have any
ideas or bugfixes!