diff --git a/src/pages/vim/useful-commands/index.md b/src/pages/vim/useful-commands/index.md index 46c8f117bac..f9806dac6df 100644 --- a/src/pages/vim/useful-commands/index.md +++ b/src/pages/vim/useful-commands/index.md @@ -1,6 +1,9 @@ --- title: Useful Commands --- +## Modes +## Inserting Text +Press the key and type i to enter --INSERT-- mode. Now you can type some text and it will be inserted into the file. After you have finished inserting, press the key. The --INSERT-- indicator disappear and you return to command mode which you can save your file. ## Exiting Vi, Vim, Nvim, Gvim 1. Press escape to get you into "normal" mode 2. Type `:q`, press enter. If you receive an error try `:q!`