1
0
Fork 0
mirror of https://codeberg.org/Mo8it/How_To_Linux.git synced 2024-11-22 00:48:02 +00:00

Mark :wq as very important

This commit is contained in:
Mo 2023-08-27 23:20:35 +02:00
parent ba4b1c358a
commit d2f374407c

View file

@ -17,6 +17,7 @@ Each mode has its keybindings.
When you just enter Vim, then you are in the **normal mode** which has the following most important keybindings: When you just enter Vim, then you are in the **normal mode** which has the following most important keybindings:
- `:q`: Quit (**very important!**) - `:q`: Quit (**very important!**)
- `:wq`: Write buffer (save) and exit (**very important!**)
- `:q!`: Quit without saving (**very important!**) - `:q!`: Quit without saving (**very important!**)
- `j`: Down - `j`: Down
- `k`: Up - `k`: Up
@ -39,7 +40,6 @@ When you just enter Vim, then you are in the **normal mode** which has the follo
- `Ctrl+r`: Redo - `Ctrl+r`: Redo
- `:h`: Help - `:h`: Help
- `:w`: Write buffer - `:w`: Write buffer
- `:wq`: Write buffer and exit
- `/PATTERN`: Search - `/PATTERN`: Search
- `n`: Next match - `n`: Next match
- `N`: Previous match - `N`: Previous match