Frequently Asked Question
What does it mean that Vim is a modal editor?
In a non-modal editor like Notepad, VS Code, or nano, every key on the keyboard
either inserts a character or does something obvious like move the cursor. A modal
editor splits the keyboard into roles depending on which mode it is in. Vim's main
modes are normal mode (the default, where letters are editing commands), insert mode
(where letters become text), visual mode (where motions extend a selection), and
command-line mode (entered with : for ex commands or / for searches).
The argument for modes is that you spend most of your editing time moving and manipulating text, not typing fresh characters. Giving every key on the keyboard a dedicated command in normal mode means you never reach for a modifier, never leave the home row, and never need a mouse. The argument against is the learning curve: until the modes are second nature, you keep dropping accidental letters into your document because you forgot you were in insert mode (or refusing to type, because you forgot you were in normal mode).
The single most useful habit when learning Vim is to press Escape whenever you
lose track. Escape always returns to normal mode, from which everything else is
reachable. Once the modes feel automatic, usually after a week or two of daily
use, the constant context switch fades into the background.