Skip to content

Instantly share code, notes, and snippets.

@bastami82
Last active June 11, 2020 08:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bastami82/b4505d33e7e2816cc029eca9905102e3 to your computer and use it in GitHub Desktop.
Save bastami82/b4505d33e7e2816cc029eca9905102e3 to your computer and use it in GitHub Desktop.
reminder of Vim commands to prevent me google it every time !
There are two Modes: Insert and Command:
1. to go o Insert mode -> Press `i`
2. to switch back to Command mode -> pres `esc`
x - to delete the unwanted character
u - to undo the last the command and U to undo the whole line
CTRL-R to redo
A - to append text at the end
:wq - to save and exit
:q! - to trash all changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment