pacogens@lemmy.ml to linuxmemes@lemmy.world · 1 year agoI wish :q!lemmy.mlimagemessage-square27fedilinkarrow-up1476arrow-down114
arrow-up1462arrow-down1imageI wish :q!lemmy.mlpacogens@lemmy.ml to linuxmemes@lemmy.world · 1 year agomessage-square27fedilink
minus-squareforwardvoid@feddit.nllinkfedilinkarrow-up5·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-squarebuedi@feddit.delinkfedilinkarrow-up1·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 :-)
: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.