diff --git a/pages/common/vim.md b/pages/common/vim.md index 9baa4bee0..87d480505 100644 --- a/pages/common/vim.md +++ b/pages/common/vim.md @@ -14,6 +14,22 @@ `view {{file}}` +- Switch to normal mode: + +`` + +- Switch to insert mode: + +` i` + - Exit vim: -`[Esc] (to switch to normal mode), then :q` +` :q ` + +- Save file in vim: + +` :w ` + +- Save file then exit vim: + +` :wq `