pacogens to linuxmemes@lemmy.world · 1 year agoI wish :q!imagemessage-square38fedilinkarrow-up1851arrow-down123
arrow-up1828arrow-down1imageI wish :q!pacogens to linuxmemes@lemmy.world · 1 year agomessage-square38fedilink
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.
ZQ / ZZ ftw.
Now that you write it… I use :q! all the time but I did not realize. I guess that is just muscle memory :-)