[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
slackbook:vi [2012/09/16 15:08 (UTC)] – [Moving Around] Updated with original text and formatting mfillpotslackbook:vi [2012/09/16 15:09 (UTC)] – [Editing A Document] Updated with original text and formatting mfillpot
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's current location, or append it after the cursor's current location. Once into insert mode, you can type any text normally and it will be placed into your document. You can return to command mode in order to save your changes by pressing the ESC key. +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 <key>'i'</key> or 
 +<key>'a'</key> command keys.  These either insert text at the 
 +cursor's current location, or append it after the cursor's current 
 +location. Once into insert mode, you can type any text normally and it 
 +will be placed into your document.  You can return to command mode in 
 +order to save your changes by pressing the <key>'ESC'</key> key.
 ===== Vi Cheat Sheet ===== ===== Vi Cheat Sheet =====
  
 slackbook:vi ()