• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 23. The vi Editor > Edit Commands

23.5. Edit Commands

Recall that c, d, and y are the basic editing operators.

23.5.1. Inserting New Text

Command Action
a Append after cursor.
A Append to end of line.
i Insert before cursor.
I Insert at first nonblank character of line.
gI Insert at beginning of line. (vim)
o Open a line below cursor.
O Open a line above cursor.
Esc Terminate insert mode.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint