From d2f374407cc95bb8a1ef148f3e0c805c16fad039 Mon Sep 17 00:00:00 2001 From: mo8it Date: Sun, 27 Aug 2023 23:20:35 +0200 Subject: [PATCH] Mark :wq as very important --- src/day_4/advanced_terminal_editors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/day_4/advanced_terminal_editors.md b/src/day_4/advanced_terminal_editors.md index b6a5bc1..310e531 100644 --- a/src/day_4/advanced_terminal_editors.md +++ b/src/day_4/advanced_terminal_editors.md @@ -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: - `:q`: Quit (**very important!**) +- `:wq`: Write buffer (save) and exit (**very important!**) - `:q!`: Quit without saving (**very important!**) - `j`: Down - `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 - `:h`: Help - `:w`: Write buffer -- `:wq`: Write buffer and exit - `/PATTERN`: Search - `n`: Next match - `N`: Previous match