C editing with VIM HOWTO

Siddharth Heroor

Revision History
Revision v1.0 Jan 14, 2001 Revised by: sh
Second Revision. Corrected some typos.
Revision v0.1 Dec 04, 2000 Revised by: sh
First Revision. I would love to have your feedback

This document gives an introduction to editing C and other language files, whose syntax is similar, like C++ and Java in vi/VIM.


Table of Contents
1. Introduction
2. Moving around.
2.1. w, e and b keystrokes
2.2. {, }, [[ and ]] keystrokes
2.3. % keystroke
3. Jumping to random positions in C files
3.1. ctags
3.2. marks
3.3. gd keystroke
4. Auto-Completing Words
5. Formating automatically
5.1. Restricting column width
5.2. Automatically indent code
5.3. Comments
6. Multi-file editing
7. Quickfix
8. Copyright
9. References