CLASE VIM.
MODOS.
- NORMAL MODE: Esc
- COMMAND MODE: :
- VISUAL MODE: v
- VISUAL LINE MODE: V
- REPLACE MODE: R
- VISUAL BLOCK MODE: Ctrl-v
MOVEMENT :
- h: left.
- j: down.
- k: up.
- l: right.
- {: previous paragraph.
- }: next paragraph.
- 0: begging of the line.
- $: ending of the line.
- gg: top of the file.
- G: bottom of thee file.
- w: word.
- b: backword.
- e: end of the word.
INSERT MODE:
- i: insert mode in the cursor.
- a: insert append at the cursor.
- o: insert append another line after the cursor.
- I: insert mode in the cursor.
- A: insert append at the cursor.
- O: insert append another line after the cursor.
ACTIONS:
- y: yank (copy)
- c: change (delete and put on insert mode)
- d: delete
- p: paste
- u: undo
- Ctrl-r: redo
- yy: yank whole line
- cc: change whole line
- dd: delete whole lin
OPTIONS (command mode):
- set number (activate line numbers)
- set relativenumber (activa relative numbers)