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-squareRickRussell_CA@lemmy.worldlinkfedilinkEnglisharrow-up14·1 year agoPeople can remember the Konami code but :-q-! is too difficult apparently.
minus-squarerovingnothing29@kbin.sociallinkfedilinkarrow-up3·1 year agoExcept it doesn’t work because you’re in edit mode.
minus-squarefreundTech@feddit.delinkfedilinkarrow-up3·1 year agoAfter noticing that ctrl+c doesn’t work he tried typing exit, which put him in edit mode.
minus-squarekbotc@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoUnless 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.
minus-squareClusterfck@lemmy.sdf.orglinkfedilinkarrow-up6arrow-down2·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-squareRikudou_Sage@lemmings.worldlinkfedilinkEnglisharrow-up6·1 year agoI’ve used it before gen z was a thing, so no.
minus-squarebuedi@feddit.delinkfedilinkarrow-up1·1 year agoWhy do people just don’t ESC :x? Do I miss something when not using q!?
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 :-)
minus-squarestarman@programming.devlinkfedilinkEnglisharrow-up1·1 year agoOr ZZ, more simple and immediately after typing it you start hearing random ZZ Top song.
People can remember the Konami code but :-q-! is too difficult apparently.
Except it doesn’t work because you’re in edit mode.
After noticing that ctrl+c doesn’t work he tried typing
exit
, which put him in edit mode.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.
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.
Or ZZ, more simple and immediately after typing it you start hearing random ZZ Top song.
Driving While Blind