mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-25 13:54:05 -06:00
update vim
This commit is contained in:
parent
1ca4a33396
commit
f33aba45fc
@ -17,7 +17,7 @@ tags:
|
||||
# Navigation
|
||||
| | |
|
||||
| ---------------------------------- | -------------------------------------------- |
|
||||
| h j k l | ⃪ ↓ ↑ → |
|
||||
| h j k l | ⃪ ↓ ↑ → |
|
||||
| 0 | to the `start` of the line |
|
||||
| $ (Shit + 4) | to the `end` of the line |
|
||||
| e | to `end` of word |
|
||||
@ -31,4 +31,28 @@ tags:
|
||||
| zz | re-center |
|
||||
|
||||
|
||||
# Text manipulation
|
||||
|
||||
| | |
|
||||
| --- | --------------------------------------------- |
|
||||
| x | delete at the cursor (→ in normal mode still) |
|
||||
| i | insert before the cursor |
|
||||
| I | insert beginning of the line |
|
||||
| a | insert after the cursor |
|
||||
| A | append after the line |
|
||||
| o | open line above |
|
||||
| O | open line below |
|
||||
| s | delete character and insert |
|
||||
| S | delete line and insert |
|
||||
| R overstrike mode | replace text character by character (max 1 line) |
|
||||
| c *<`movement`>* wW / bB / 2j / $/ 0 | change till (→ in insert mode now) | cc - change one line |
|
||||
| d *<`movement`>* wW / bB / 2j / $/ 0 | delete till (→ in normal mode still) | dd - delete one line ... |
|
||||
| r | replace single character (→ don’t have to press ESC) |
|
||||
| *<`number`>* ~ | change letter case |
|
||||
|
||||
> Remember - **(command)*(number)(text object)****
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user