correct and add vim shortcuts

This commit is contained in:
Matthieu Keller 2013-09-02 16:04:10 +02:00
parent 2a9220bb6d
commit d9acba7f14
1 changed files with 10 additions and 4 deletions

View File

@ -1,8 +1,14 @@
# Appending # Insertion
a - drops vim into append mode a - enters insertion mode, append after the cursor.
i - enters append mode without character skip 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.
# File management # File management
:w - writes (saves) file :w - writes (saves) file
:x - writes (saves) file ans exit
:q - quits :q - quits
;q! - quits without saving changes :q! - quits without saving changes