| 1 | <?xml version="1.0" encoding="UTF-8"?> |
1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/vi-guide.xml,v 1.11 2004/05/18 07:03:00 cam Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/vi-guide.xml,v 1.12 2004/08/26 17:39:17 swift Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/vi-guide.xml"> |
5 | <guide link="/doc/en/vi-guide.xml"> |
| 6 | <title>Learning vi -- the "cheatsheet" technique</title> |
6 | <title>Learning vi -- the "cheatsheet" technique</title> |
| 7 | <author title="Author"> |
7 | <author title="Author"> |
| … | |
… | |
| 18 | This guide will teach you how to use vi, using a cheat sheet method to |
18 | This guide will teach you how to use vi, using a cheat sheet method to |
| 19 | accelerate the learning process. This will be the first guide for vi, |
19 | accelerate the learning process. This will be the first guide for vi, |
| 20 | catering to beginners. |
20 | catering to beginners. |
| 21 | </abstract> |
21 | </abstract> |
| 22 | |
22 | |
| 23 | <version>1.1.4</version> |
23 | <version>1.1.5</version> |
| 24 | <date>May 18, 2004</date> |
24 | <date>August 26, 2004</date> |
| 25 | |
25 | |
| 26 | <chapter> |
26 | <chapter> |
| 27 | <title>Getting Started</title> |
27 | <title>Getting Started</title> |
| 28 | <section> |
28 | <section> |
| 29 | <title>Introduction</title> |
29 | <title>Introduction</title> |
| … | |
… | |
| 649 | |
649 | |
| 650 | <p> |
650 | <p> |
| 651 | If you're copying the text, hit <c>y</c> (which stands for "yank"). |
651 | If you're copying the text, hit <c>y</c> (which stands for "yank"). |
| 652 | If you're cutting the text, hit <c>d</c>. You'll be placed back in |
652 | If you're cutting the text, hit <c>d</c>. You'll be placed back in |
| 653 | command mode. Now, move to the position where you'd like to insert |
653 | command mode. Now, move to the position where you'd like to insert |
| 654 | the cut or copied text, and hit <c>P</c> to insert after the cursor, |
654 | the cut or copied text, and hit <c>P</c> to insert before the cursor, |
| 655 | or <c>p</c> to insert before the cursor. Voila, the cut/copy and |
655 | or <c>p</c> to insert after the cursor. Voila, the cut/copy and |
| 656 | paste is complete! Test out several copy/cut and paste operations |
656 | paste is complete! Test out several copy/cut and paste operations |
| 657 | before advancing to the next section. |
657 | before advancing to the next section. |
| 658 | </p> |
658 | </p> |
| 659 | |
659 | |
| 660 | </body> |
660 | </body> |