@pacogens@lemmy.ml to linuxmemes@lemmy.world • 1 year agoI wish :q!lemmy.mlimagemessage-square38fedilinkarrow-up1830arrow-down125
arrow-up1805arrow-down1imageI wish :q!lemmy.ml@pacogens@lemmy.ml to linuxmemes@lemmy.world • 1 year agomessage-square38fedilink
minus-square@Clusterfck@lemmy.sdf.orglinkfedilink4•edit-21 year agoOr just use nano and have a built in cheat sheet Edit: I just realized nano is the gen z text editor for Linux…
minus-square@buedi@feddit.delinkfedilink2•1 year agoWhy do people just don’t ESC :x? Do I miss something when not using q!?
minus-square@forwardvoid@feddit.nllinkfedilink5•1 year ago: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.
minus-square@buedi@feddit.delinkfedilink1•1 year agoNow that you write it… I use :q! all the time but I did not realize. I guess that is just muscle memory :-)
Esc, then :q-t
Or just use nano and have a built in cheat sheet
Edit: I just realized nano is the gen z text editor for Linux…
I’ve used it before gen z was a thing, so no.
Why do people just don’t ESC :x? Do I miss something when not using q!?
: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.
Now that you write it… I use :q! all the time but I did not realize. I guess that is just muscle memory :-)
ZQ / ZZ ftw.