(function(a,e,f,g,b,c,d){a.GoogleAnalyticsObject=b;a[b]=a[b]||function(){(a[b].q=a[b].q||[]).push(arguments)};a[b].l=1*new Date;c=e.createElement(f);d=e.getElementsByTagName(f)[0];c.async=1;c.src=g;d.parentNode.insertBefore(c,d)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");ga("create","UA-732153-7","auto",{allowLinker:!0,siteSpeedSampleRate:10});ga("set","transport","beacon");ga("set","anonymizeIp",!0);ga("require","linker"); ga("linker:autoLink","askapache.com askapache.net htaccess.io htaccesselite.com askapache.info htaccess.guru".split(" "),!0);ga("send","pageview"); CLASS="ARTICLE" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" >

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
6. Multi-file editing
7. Quickfix
8. Copyright
9. References