Tutorial: Make Vim as Your C/C++ IDE Using c.vim Plugin
by SathiyaMoorthy on January 28, 2009
http://www.thegeekstuff.com/2009/01/tutorial-make-vim-as-your-cc-ide-using-cvim-plugin/
This article is part of the ongoing Vi / Vim Tips and
Tricks Series. As a programmer, you may do lot of
repetitive tasks while coding such as:
• Adding file header
• Adding function/frame comment
• Including default code snippet
• Performing syntax check
• Reading documentation about a function
• Converting a code block to comment, and vice
versa
The C-Support Vim Plugin offers easiest way to do all of the above, saving lot of time and keystrokes
for C and C++ programmers.
The plugin was written by Fritz Mehner, who explains the purpose of the plugin as: “Write and run
programs. Insert statements, idioms, comments”.
He also highlights following features:
• 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
This article explains how to install the plugin in 3 easy steps and 7 powerful features of the plugin.
3 Steps to Install the C.Vim Plugin
Step 1: Download C Vim Plugin
Download the plugin from vim.org website.
$ cd /usr/src
$ wget http://www.vim.org/scripts/download_script.php?src_id=9679