🛠️Vim
Also known as Vi IMproved, Vim Editor, vi editor
A free editor that runs in a terminal. You work it with keys, not a mouse.
Think of it like
It is like a piano. Each key does a job, and your hands stay on the keys.
Example
Jack logs in to a server to fix one setting. The server has no window apps, so he opens the file in Vim, changes the line and saves.
Why it matters
It is there on almost every server. Knowing a few keys means you can fix a file anywhere, with no other app.
Definition
Example code
vim
$ vim notes.txt
i start typing (insert mode)
Esc back to normal mode
:wq write the file and quitCommon mistake
Key takeaways
- 1Modes. Keys mean one thing in each mode.
- 2Keys, not mouse. Every action has a key for it.
- 3Everywhere. It is found on almost every server.