vim basics
Instant nano replacement
vim -y - will start vim but like other editors like nano, there will be syntax highlighting, etc
Keybind to exit this mode is Ctrl+q
Steps
- Insert text by pressing
a. - Stop inserting text by pressing
Ctrl+[. - Exit with
ZZ. - Congratulations, you now know
vim.