Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 10 months agoVery clever...lemmy.mlimagemessage-square295fedilinkarrow-up12.33Karrow-down120file-text
arrow-up12.31Karrow-down1imageVery clever...lemmy.mlJorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 10 months agomessage-square295fedilinkfile-text
minus-squarepsud@aussie.zonelinkfedilinkarrow-up90arrow-down4·10 months 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-up68arrow-down1·10 months agoYou’re nullifying that safety measure by doing this you know
minus-squareMadlaine@feddit.delinkfedilinkarrow-up23arrow-down1·10 months agoSome people just want to see the world burning
minus-squarePM_ME_FAT_ENBIES@lib.lgbtlinkfedilinkEnglisharrow-up14·10 months agoNah, the safety measure is designed to make sure they can quit vim. Now they can quit vim.
minus-squareintensely_human@lemm.eelinkfedilinkarrow-up11·10 months agoI can quit vim any time I want. I just don’t want to.
minus-squareArmok: God of Blood@lemmy.dbzer0.comlinkfedilinkarrow-up14·10 months agoIt’s the opposite of nerd sniping.
minus-squarePoolloverNathan@programming.devlinkfedilinkEnglisharrow-up21·10 months ago:wq will write even if you didn’t change anything; :x won’t. (similar to :w vs :up)
minus-squareboatswain@infosec.publinkfedilinkarrow-up4·10 months 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