24 points
18 points
7 points
After noticing that ctrl+c doesn’t work he tried typing exit
, which put him in edit mode.
2 points
Unless you are on a Mac, then ctrl is META, and META+c gets you to the place where you can :q!
ESC is just too far to deal with when using vi.
0 points
*
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.
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
5 points