<< Back to man.ChinaUnix.net

C editing with VIM HOWTO

Siddharth Heroor

Revision History
Revision v1.0Jan 14, 2001Revised by: sh
Second Revision. Corrected some typos.
Revision v0.1Dec 04, 2000Revised 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