01.09.2014 Views

The Linux Development Platform Configuring, Using, and ... - Classes

The Linux Development Platform Configuring, Using, and ... - Classes

The Linux Development Platform Configuring, Using, and ... - Classes

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CH02.fm Page 37 Monday, October 7, 2002 8:09 PM<br />

VIM 37<br />

2.4 VIM<br />

VIM st<strong>and</strong>s for Vi IMproved <strong>and</strong> was developed by Bram Moolenaar. It is based on the functionality<br />

of the original, non-open source vi editor. While most open source software is also freeware,<br />

VIM is distributed as Charityware. In exchange for using the program, the authors request<br />

that users consider donating to the Kibaale Children’s Center (KCC), a charity providing food,<br />

health care <strong>and</strong> education for the children in the area. For further information regarding this<br />

donation program <strong>and</strong> the KCC, within VIM, type :help ifcc or visit http://www.vim.org/<br />

ifcc.<br />

2.4.1 <strong>Using</strong> VIM<br />

VIM is available in both text-based <strong>and</strong> graphical modes. <strong>The</strong> graphical version, shown in Figure<br />

2-11, has the same functionality as the text-based version, but also provides easy access to<br />

many functions through pull-down menus <strong>and</strong> a button bar. To start the text-based version, use<br />

the comm<strong>and</strong> vim. <strong>The</strong> graphical version is started by typing gvim. For example, to start VIM<br />

<strong>and</strong> edit the file main.c, type the following:<br />

$ vim main.c<br />

Or, for the graphical version, type:<br />

$ gvim main.c<br />

Figure 2-11 gvim.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!