2 points
*
2 points
5 points
:x also writes (same as :wq). :q! is force quit. If you accidentally made changes then :q will give an error and :x will write those changes. So :q! Is you safest bet if you need to gtfo.
1 point
2 points
4 points
*
Or just use nano and have a built in cheat sheet
Edit: I just realized nano is the gen z text editor for Linux…
6 points