Ⅰ. 插件描述
C/C++ IDE -- Write and run programs. Insert statements, idioms, comments etc.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/c-vim-the-thing-itself'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/c-vim-the-thing-itself'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/c-vim-the-thing-itself'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/c.vim
Ⅳ. 文档说明
** Statement oriented editing of C / C++ programs
** Speed up writing new code considerably
** Write code and comments with a professional appearance from the beginning
** Use code snippets
** Toolbox for cmake(1), doxygen(1), and make(1)
- insertion of various types of comments (file prologue, function descriptions, file section headers
keyword comments, date, time, ... ) - insertion of empty control statements (if-else, while, do-while, switch, ... )
- insertion of various preprocessor directives
- insertion of C-idioms (enum+typedef, loops, complete main, empty function, file open dialogs, ... )
- insertion of C++ -idioms ( frames for simple classes and template classes, try-catch blocks,
file open dialogs, output manipulators, ios flags, ... ) - use and organize your own collection of code snippets
- compile / link / run support for one-file projects (without a makefile)
- run buffer through splint
- personalization of comments (name, email, ... )
- menus can be switched on and off (via the Tools menu)
Some screen shots : https://wolfgangmehner.github.io/vim-plugins/csupport.html
For plug-in managers : https://github.com/WolfgangMehner/c-support
The help file online : https://wolfgangmehner.github.io/vim-plugins/doc/csupport.html
The key mappings of this plug-in : https://wolfgangmehner.github.io/vim-plugins/csupport/c-hotkeys.pdf
The installation explained : "Make Vim as Your C/C++ IDE Using c.vim Plugin"
(http://www.thegeekstuff.com/2009/01/tutorial-make-vim-as-your-cc-ide-using-cvim-plugin/)
DOCUMENTATION
This plug-in comes with a help file (csupport.txt). Read it with
:help csupport
PLEASE READ THE DOCUMENTATION
Editing actions differ for different modes! There are a lot of features which
can be configured or customized to match your needs.
GitHub
C-Support is on GitHub:
https://github.com/WolfgangMehner/vim-plugins
(Please help us keep track of all the issues and name your report/request "C-Support: <title>")