Ⅰ. 插件描述
Vim unite plugin that provides command line completitionⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'joedicastro/unite-cmdmatch-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'joedicastro/unite-cmdmatch-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'joedicastro/unite-cmdmatch-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/joedicastro/unite-cmdmatch
Ⅳ. 文档说明
unite-cmdmatch
This is unite source that simulates command line completion. It cmaps one key, <c-o>, which can be used while entering command to show completion list for the last word typed.
NOTE: This is a work in progress.
Installation
"Easiest way
NeoBundle 'majkinetor/unite-cmdmatch'
" With dependency
NeoBundle 'majkinetor/unite-cmdmatch', { 'depends': 'Shougo/unite.vim' }
" With lazy loading and custom map
NeoBundleLazy 'majkinetor/unite-cmdmatch', { 'depends': 'Shougo/unite.vim', 'mappings' : [['c', '<Plug>(unite_cmdmatch_complete)']] }
cm <c-o> <Plug>(unite_cmdmatch_complete)