The introduction of the best vim plugin: c.vim : C/C++ IDE — Write and run programs. Insert statements, idioms, comments etc.

created by
Fritz Mehner

script type
utility

description
** Statement oriented editing of C / C++ programs
** Speed up writing new code considerably.
** Write code und comments with a professional appearance from the beginning.
** Use code snippets

- 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 (Tools menu)

Here are some screen shots : http://lug.fh-swf.de/vim/vim-c/screenshots-en.html

The help file online : http://lug.fh-swf.de/vim/vim-c/csupport.html

The key mappings of this plugin (PDF) : http://lug.fh-swf.de/vim/vim-c/c-hotkeys.pdf

See also the http://www.thegeekstuff.com tutorial
“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 plugin comes with a help file (csupport.txt). Read it with

:h 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.

MAILING LIST
——————————————————–
You can subscribe to the vim-plugins-list mailing list to post your questions or
suggestions for improvement or to report bugs. The list will also be used to
announce new releases ( c.vim / bash-support / perl-support / doxygen-support ).
Visit the following page for subscribing to the mailing list:

http://lug.fh-swf.de/cgi-bin/mailman/listinfo/vim-plugins-list

The vim-plugins-list list is very low on traffic.

install details
Copy the zip archive cvim.zip to $HOME/.vim/ (Linux/Unix) or $HOME/vimfiles (Windows) and run
unzip cvim.zip
If you have already an older version of this plugin and you have modified the
template files you may want to save your templates first or copy the files from the
archive by hand. See also the file README.csupport within the zip file.

rate this script Life Changing Helpful Unfulfilling
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
cvim.zip 6.0 2012-08-20 7.0 Fritz Mehner ++ The plug-in version 6.0+ is a rewriting of version 5.19.
++ The template syntax has changed!

- New template system (many thanks to Wolfgang Mehner)
- A few new hotkeys and menu item.
- A few hotkeys and menu items renamed.

Top Down