CLASE VIM.

MODOS.

  1. NORMAL MODE: Esc
  2. COMMAND MODE: :
  3. VISUAL MODE: v
  4. VISUAL LINE MODE: V
  5. REPLACE MODE: R
  6. VISUAL BLOCK MODE: Ctrl-v

MOVEMENT :

  1. h: left.
  2. j: down.
  3. k: up.
  4. l: right.
  5. {: previous paragraph.
  6. }: next paragraph.
  7. 0: begging of the line.
  8. $: ending of the line.
  9. gg: top of the file.
  10. G: bottom of thee file.
  11. w: word.
  12. b: backword.
  13. e: end of the word.

INSERT MODE:

  1. i: insert mode in the cursor.
  2. a: insert append at the cursor.
  3. o: insert append another line after the cursor.
  4. I: insert mode in the cursor.
  5. A: insert append at the cursor.
  6. O: insert append another line after the cursor.

ACTIONS:

  1. y: yank (copy)
  2. c: change (delete and put on insert mode)
  3. d: delete
  4. p: paste
  5. u: undo
  6. Ctrl-r: redo
  7. yy: yank whole line
  8. cc: change whole line
  9. dd: delete whole lin

OPTIONS (command mode):

  1. set number (activate line numbers)
  2. set relativenumber (activa relative numbers)