Last active
June 11, 2020 08:11
-
-
Save bastami82/b4505d33e7e2816cc029eca9905102e3 to your computer and use it in GitHub Desktop.
reminder of Vim commands to prevent me google it every time !
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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