Enjoy Slackware 15.0!
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
slackbook:vi [2012/09/16 15:08 (UTC)] mfillpot [Moving Around] Updated with original text and formatting |
slackbook:vi [2012/09/16 15:10 (UTC)] mfillpot [Vi Cheat Sheet] Updated with original text and formatting |
||
---|---|---|---|
Line 151: | Line 151: | ||
===== Editing A Document ===== | ===== Editing A Document ===== | ||
- | Now that we're able to open and save documents, as well as move around in them, it's time to learn how to edit them. The primary means of editing is to enter insert mode using either the i or a command keys. These either insert text at the cursor' | + | Now that we're able to open and save documents, as well as move around |
+ | in them, it's time to learn how to edit them. The primary means of | ||
+ | editing is to enter insert mode using either the < | ||
+ | < | ||
+ | cursor' | ||
+ | location. Once into insert mode, you can type any text normally and it | ||
+ | will be placed into your document. | ||
+ | order to save your changes by pressing the < | ||
===== Vi Cheat Sheet ===== | ===== Vi Cheat Sheet ===== | ||
- | Since vi can be difficult to learn, I've prepared a short cheat sheat that should help you with the basics until you begin to feel comfortable. | + | Since **//vi//** can be difficult to learn, I've |
+ | prepared a short cheat sheat that should help you with the basics until | ||
+ | you begin to feel comfortable. | ||
^ Command ^ Result ^ | ^ Command ^ Result ^ | ||
Line 187: | Line 195: | ||
|:w file|Save the current document as ' | |:w file|Save the current document as ' | ||
|:x|Save and quit| | |:x|Save and quit| | ||
- | |||
====== Chapter Navigation ====== | ====== Chapter Navigation ====== | ||