Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years agoVery clever...lemmy.mlimagemessage-square350fedilinkarrow-up12.31Karrow-down120file-text
arrow-up12.29Karrow-down1imageVery clever...lemmy.mlJorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square350fedilinkfile-text
minus-squarepsud@aussie.zonelinkfedilinkarrow-up88arrow-down4·2 years agoIf anyone needs the command: :q! If you want the computer to ask if you’re sure: :q If you want to save: :wq
minus-squareintensely_human@lemm.eelinkfedilinkarrow-up67arrow-down1·2 years agoYou’re nullifying that safety measure by doing this you know
minus-squareMadlaine@feddit.delinkfedilinkarrow-up22arrow-down1·2 years agoSome people just want to see the world burning
minus-squarePM_ME_FAT_ENBIES@lib.lgbtlinkfedilinkEnglisharrow-up14·2 years agoNah, the safety measure is designed to make sure they can quit vim. Now they can quit vim.
minus-squareintensely_human@lemm.eelinkfedilinkarrow-up11·2 years agoI can quit vim any time I want. I just don’t want to.
minus-squareArmok: God of Blood@lemmy.dbzer0.comlinkfedilinkarrow-up13·2 years agoIt’s the opposite of nerd sniping.
minus-squarePoolloverNathan@programming.devlinkfedilinkEnglisharrow-up22·2 years ago:wq will write even if you didn’t change anything; :x won’t. (similar to :w vs :up)
minus-squareboatswain@infosec.publinkfedilinkarrow-up4·2 years agoI prefer ZZ if I want to quit and save
If anyone needs the command: :q!
If you want the computer to ask if you’re sure: :q
If you want to save: :wq
You’re nullifying that safety measure by doing this you know
Some people just want to see the world burning
Nah, the safety measure is designed to make sure they can quit vim. Now they can quit vim.
I can quit vim any time I want. I just don’t want to.
It’s the opposite of nerd sniping.
Or :x
:wq
will write even if you didn’t change anything;:x
won’t. (similar to:w
vs:up
)ZQ
and ZZ for save & quit
:cq
because why not :)I prefer
ZZ
if I want to quit and save