@Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish • 2 years agoVery clever...lemmy.mlimagemessage-square297fedilinkarrow-up12.31Karrow-down120file-text
arrow-up12.29Karrow-down1imageVery clever...lemmy.ml@Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish • 2 years agomessage-square297fedilinkfile-text
minus-square@psud@aussie.zonelinkfedilink85•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-square@intensely_human@lemm.eelinkfedilink66•2 years agoYou’re nullifying that safety measure by doing this you know
minus-square@PM_ME_FAT_ENBIES@lib.lgbtlinkfedilinkEnglish14•2 years agoNah, the safety measure is designed to make sure they can quit vim. Now they can quit vim.
minus-square@intensely_human@lemm.eelinkfedilink10•2 years agoI can quit vim any time I want. I just don’t want to.
minus-square@PoolloverNathan@programming.devlinkfedilinkEnglish22•2 years ago: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
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.
:wq
will write even if you didn’t change anything;:x
won’t. (similar to:w
vs:up
)Or :x
I prefer
ZZ
if I want to quit and saveZQ
and ZZ for save & quit
:cq
because why not :)