Why Vim (and the Famous Trap)
Why Vim?
Scenario: You SSH into a bare production server at 3am to fix a config file. There's no VS Code, no mouse, no GUI. There isvi. On literally every Unix and Linux system ever made,vi/vimis there. That's why it's non-negotiable.
Vim is fast and keyboard-only - once it clicks, you edit at the speed of thought. But it has a reputation, and it comes from one thing:
Warning: "How do I exit vim?" is one of the most-searched programming questions in the world. People open it by accident and get stuck, because vim isn't like Notepad - you can't just type. The reason is modes, and once you understand them, the fear disappears.
Analogy: A normal editor is like a document you can always type into. Vim is like a workshop with two states: one for giving commands (move, delete, save) and one for actually writing text. Typing while in "command" state does surprising things - that's the whole confusion.
The next section demystifies modes. After that you'll never be trapped again.