I'm on the emacs side of things, but knowing at least the bare minimum of vim is handy, because I have run into into systems where some vi variant is available and nothing else is. Though as systems get bigger, it has become more the norm to have at least nano also available.
I'd know at least this:
i to edit insert mode. Then you can edit as in a non-modal editor.
Esc to exit insert mode and go back to normal mode.
h, j, k, l move left, down, up, and right. The fingers under your right hand at rest position on a QWERTY keyboard.
/ to start a regex search
% and then SRC/REPLACEMENT to do a regex replacement.
:wq to save and exit
That's enough to perform a couple of small edits or something if need be.
:q! if you want to quit without saving changes, though vim will remind you if you leave off the ! in case you forget.
Iāve used vim for so many years now that it blows my mind when people act like itās difficult to use.
The same thing with installing Arch and even Gentoo ⦠if youāve got good experience with redhat/centos and can read documentation itās a breeze.
:q! to pull out
Ah yes, silly me, canāt forget about my other dicks!
C-x C-c?