2013-09-02 16:04:10 +02:00
|
|
|
# Insertion
|
|
|
|
a - enters insertion mode, append after the cursor.
|
|
|
|
A - enters insertion mode, at the end of the line.
|
|
|
|
i - enters insertion mode, insert before the cursor.
|
|
|
|
I - enters insertion mode, at the beginning of the line.
|
|
|
|
o - enters insertion mode, creating a new line under the cursor.
|
|
|
|
O - enters insertion mode, creating a mew line above the cursor.
|
|
|
|
C - enters insertion mode, cut the end of the line.
|
2013-08-28 19:05:46 +02:00
|
|
|
|
|
|
|
# File management
|
|
|
|
:w - writes (saves) file
|
2013-09-02 16:04:10 +02:00
|
|
|
:x - writes (saves) file ans exit
|
2013-08-28 19:05:46 +02:00
|
|
|
:q - quits
|
2013-09-02 16:04:10 +02:00
|
|
|
:q! - quits without saving changes
|