Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoVery clever...lemmy.mlimagemessage-square292fedilinkarrow-up12.3Karrow-down120file-text
arrow-up12.28Karrow-down1imageVery clever...lemmy.mlJorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square292fedilinkfile-text
minus-squarepsud@aussie.zonelinkfedilinkarrow-up87arrow-down3·1 year 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-squareMadlaine@feddit.delinkfedilinkarrow-up23arrow-down1·1 year agoSome people just want to see the world burning
minus-squarePM_ME_FAT_ENBIES@lib.lgbtlinkfedilinkEnglisharrow-up13·1 year agoNah, the safety measure is designed to make sure they can quit vim. Now they can quit vim.
minus-squareArmokGoB@lemmy.dbzer0.comlinkfedilinkarrow-up13·1 year agoIt’s the opposite of nerd sniping.
minus-squarePoolloverNathan@programming.devlinkfedilinkEnglisharrow-up21·1 year ago:wq will write even if you didn’t change anything; :x won’t. (similar to :w vs :up)
minus-squareboatswain@infosec.publinkfedilinkarrow-up4·1 year 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
Removed by mod
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.
Removed by mod
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