Modes

i - Insert mode
Esc - Normal mode
: - Command mode

Navigation

h j k l - Left, down, up, right
gg - Go to top
G - Go to bottom
0 - Start of line
$ - End of line

Editing

x - Delete character
dd - Delete line
yy - Copy line
p - Paste
u - Undo
Ctrl+r - Redo

Save/Quit

:w - Save
:q - Quit
:wq - Save and quit
:q! - Quit without saving

Common mistakes / Errores comunes

  • People often copy a command or pattern without adapting placeholders, which can break production workflows unexpectedly.
  • It is easy to forget environment-specific differences, so always verify behavior in your shell, runtime, or API gateway before shipping.
  • Many errors come from skipping small validation steps, so test with realistic sample input before relying on the result.
Last updated: February 2026