Neovim modes
There are three main modes in Neovim that you really need to know about.
Normal mode
Normal mode is the default mode in Neovim; it is the mode you start off in, and it allows you to enter other modes. You can also execute commands in this mode. If you are in another mode, all you need to do to enter normal mode is press the ESC key.
Insert mode
This is probably the second-most-used mode that every person who uses Neovim uses. In this mode, it allows you to type, and that is really it!
- Switches into insert mode where you are - i
- Switches into insert mode on a new line below the current line - o
- Switches into insert mode on a new line above the current line - O
- Switches into insert mode on the next charicter - a
- Switches to insert mode at the start of the line - I
- Switches to insert mode at the end of the line - A
Visual mode
In this mode, you are allowed to select text, kind of like how you can click and drag and select this text on your web browser; this mode allows you to copy, paste, and delete the selected text!
- To enter press - v
That is all for modes. There are a few more modes, like replace mode, that just allows you to replace a character, but these modes are not really used, at least by me.
Back Next