<HTML ><HEAD ><TITLE > C editing with VIM HOWTO </TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK REL="NEXT" TITLE=" Introduction " HREF="intro.html"></HEAD ><BODY CLASS="ARTICLE" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="ARTICLE" ><DIV CLASS="TITLEPAGE" ><H1 CLASS="TITLE" ><A NAME="AEN2" >C editing with VIM HOWTO</A ></H1 ><H3 CLASS="AUTHOR" ><A NAME="AEN4" > Siddharth Heroor </A ></H3 ><DIV CLASS="REVHISTORY" ><TABLE WIDTH="100%" BORDER="0" ><TR ><TH ALIGN="LEFT" VALIGN="TOP" COLSPAN="3" ><B >Revision History</B ></TH ></TR ><TR ><TD ALIGN="LEFT" >Revision v1.0</TD ><TD ALIGN="LEFT" >Jan 14, 2001</TD ><TD ALIGN="LEFT" >Revised by: sh</TD ></TR ><TR ><TD ALIGN="LEFT" COLSPAN="3" >Second Revision. Corrected some typos.</TD ></TR ><TR ><TD ALIGN="LEFT" >Revision v0.1</TD ><TD ALIGN="LEFT" >Dec 04, 2000</TD ><TD ALIGN="LEFT" >Revised by: sh</TD ></TR ><TR ><TD ALIGN="LEFT" COLSPAN="3" >First Revision. I would love to have your feedback</TD ></TR ></TABLE ></DIV ><DIV ><DIV CLASS="ABSTRACT" ><A NAME="AEN21" ></A ><P ></P ><P > This document gives an introduction to editing C and other language files, whose syntax is similar, like C++ and Java in vi/VIM. </P ><P ></P ></DIV ></DIV ><HR></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT >1. <A HREF="intro.html" >Introduction</A ></DT ><DT >2. <A HREF="moving.html" >Moving around.</A ></DT ><DD ><DL ><DT >2.1. <A HREF="moving.html#AEN29" >w, e and b keystrokes</A ></DT ><DT >2.2. <A HREF="moving.html#AEN63" >{, }, [[ and ]] keystrokes</A ></DT ><DT >2.3. <A HREF="moving.html#AEN132" >% keystroke</A ></DT ></DL ></DD ><DT >3. <A HREF="random.html" >Jumping to random positions in C files</A ></DT ><DD ><DL ><DT >3.1. <A HREF="random.html#AEN152" >ctags</A ></DT ><DT >3.2. <A HREF="random.html#AEN183" >marks</A ></DT ><DT >3.3. <A HREF="random.html#AEN205" >gd keystroke</A ></DT ></DL ></DD ><DT >4. <A HREF="auto-complete.html" >Auto-Completing Words</A ></DT ><DT >5. <A HREF="auto-format.html" >Formating automatically</A ></DT ><DD ><DL ><DT >5.1. <A HREF="auto-format.html#AEN258" >Restricting column width</A ></DT ><DT >5.2. <A HREF="auto-format.html#AEN268" >Automatically indent code</A ></DT ><DT >5.3. <A HREF="auto-format.html#AEN274" >Comments</A ></DT ></DL ></DD ><DT >6. <A HREF="multi.html" >Multi-file editing</A ></DT ><DT >7. <A HREF="quickfix.html" >Quickfix</A ></DT ><DT >8. <A HREF="copying.html" >Copyright</A ></DT ><DT >9. <A HREF="references.html" >References</A ></DT ></DL ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="intro.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Introduction</TD ></TR ></TABLE ></DIV ></BODY ></HTML >