| … | |
… | |
| 2 | <?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?> |
2 | <?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?> |
| 3 | <guide link = "/doc/en/vi-guide.xml"> |
3 | <guide link = "/doc/en/vi-guide.xml"> |
| 4 | <title>Learning vi -- the "cheatsheet" technique</title> |
4 | <title>Learning vi -- the "cheatsheet" technique</title> |
| 5 | <author title="Author"><mail link="drobbins@gentoo.org">Daniel Robbins</mail></author> |
5 | <author title="Author"><mail link="drobbins@gentoo.org">Daniel Robbins</mail></author> |
| 6 | <author title="Author"><mail link="stocke2@gentoo.org">Eric Stockbridge</mail></author> |
6 | <author title="Author"><mail link="stocke2@gentoo.org">Eric Stockbridge</mail></author> |
|
|
7 | <author title="Editor"><mail link="bennyc@gentoo.org">Benny Chuang</mail></author> |
| 7 | <abstract>This guide will teach you how to use vi, using a cheat sheet method to accelerate the learning process. This will be the first guide for vi, catering to beginners.</abstract> |
8 | <abstract>This guide will teach you how to use vi, using a cheat sheet method to accelerate the learning process. This will be the first guide for vi, catering to beginners.</abstract> |
| 8 | <version>1.1.1</version> |
9 | <version>1.1.2</version> |
| 9 | <date>19 May 2003</date> |
10 | <date>2nd October 2003</date> |
| 10 | |
11 | |
| 11 | <chapter> |
12 | <chapter> |
| 12 | <title>Getting Started</title> |
13 | <title>Getting Started</title> |
| 13 | <section> |
14 | <section> |
| 14 | <title>Introduction</title> |
15 | <title>Introduction</title> |
| … | |
… | |
| 67 | <body> |
68 | <body> |
| 68 | |
69 | |
| 69 | <p>There are many versions of vi, and I'm going to be showing you how to use a |
70 | <p>There are many versions of vi, and I'm going to be showing you how to use a |
| 70 | version of vi called "vim". vim is very popular and has a number of extensions |
71 | version of vi called "vim". vim is very popular and has a number of extensions |
| 71 | that make vi a lot nicer (whenever I demonstrate a vim-specific command, I'll |
72 | that make vi a lot nicer (whenever I demonstrate a vim-specific command, I'll |
| 72 | make a note of it.) If you need to install vim, you can get it from <uri href="http://www.vim.org/">www.vim.org</uri>. |
73 | make a note of it.) If you need to install vim, you can get it from <uri link="http://www.vim.org/">www.vim.org</uri>. |
| 73 | In addition to an enhanced |
74 | In addition to an enhanced |
| 74 | command-line vi, vim also comes with gvim, a nice graphical editor which can be |
75 | command-line vi, vim also comes with gvim, a nice graphical editor which can be |
| 75 | configured to use the excellent GTK+ gui library. Here's a gvim screenshot |
76 | configured to use the excellent GTK+ gui library. Here's a gvim screenshot |
| 76 | from my system:</p> |
77 | from my system:</p> |
| 77 | |
78 | |