Ⅰ. 插件描述
*obsolete* Script library to extend the notion of Vim's mode() functionⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/curcmdmode'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/curcmdmode'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/curcmdmode'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/curcmdmode
Ⅳ. 文档说明
This plugin has no value in Vim7 since it has a new built-in function called getcmdtype().
This plugin provides a small library of functions and mappings and a framework to extend Vim's command-line mode in a way that is not possible by using Vim's built-in features alone.
This was originally part of the chcmdmode.vim plugin, but I have extracted the generic part out and created this new plugin which can be shared by multiple scripts. For description and usage please see the script header.