Ⅰ. 插件描述
Simulating some cool features of MS Visual Studio C++ (TM) by Microsoft Corp.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/vim-wok-visualcpp01-zip'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/vim-wok-visualcpp01-zip'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/vim-wok-visualcpp01-zip'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/_vim_wok_visualcpp01.zip
Ⅳ. 文档说明
Some key extensions, which simulate MS Visual Studio C++ behaviour under VIM. E.g. CTRL-F2 sets/unsets anonymous marks on current line, F2 jumps to next mark. HOME toggles cursorpos between first column of line and first non-white-char on current line. TAB indents all currently selected lines by one shiftwidth (SHIFT-TAB unindents). CTRL-SPACE does keyword completion.
Even people who never used (or will use) the MS IDE, these key bindings make some tasks quicker/simpler... Just try the CTRL-F2 / F2 feature and you'll love it. Same for the new HOME behaviour.
This is my first VIM script, so don't blame me, if things work in even more simple ways... just drop me an email - and tell me how!