Jorgelinocake to Programmer HumorEnglish · 11 个月前Very clever...imagemessage-square295fedilinkarrow-up12.34Karrow-down121file-text
arrow-up12.32Karrow-down1imageVery clever...Jorgelinocake to Programmer HumorEnglish · 11 个月前message-square295fedilinkfile-text
minus-squarepsud@aussie.zonelinkfedilinkarrow-up90arrow-down4·11 个月前If 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·11 个月前You’re nullifying that safety measure by doing this you know
minus-squareMadlaine@feddit.delinkfedilinkarrow-up23arrow-down1·11 个月前Some people just want to see the world burning
minus-squarePM_ME_FAT_ENBIES@lib.lgbtlinkfedilinkEnglisharrow-up14·11 个月前Nah, the safety measure is designed to make sure they can quit vim. Now they can quit vim.
minus-squareintensely_human@lemm.eelinkfedilinkarrow-up11·11 个月前I can quit vim any time I want. I just don’t want to.
minus-squarePoolloverNathan@programming.devlinkfedilinkEnglisharrow-up21·11 个月前:wq will write even if you didn’t change anything; :x won’t. (similar to :w vs :up)
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
It’s the opposite of nerd sniping.
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.
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