Waffelson@lemmy.world to linuxmemes@lemmy.world · 11 months ago:wq!lemmy.worldimagemessage-square111fedilinkarrow-up1201arrow-down170
arrow-up1131arrow-down1image:wq!lemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 11 months agomessage-square111fedilink
minus-squareEuroNutellaMan@lemmy.worldlinkfedilinkarrow-up46·11 months agoIf you wanna save changes: :wq If not: :q! Else: :SpanishInquisition
minus-squareGoku@lemmy.worldlinkfedilinkarrow-up6arrow-down1·11 months agoWhy do so many people prefer :wq over :x?
minus-squareEuroNutellaMan@lemmy.worldlinkfedilinkarrow-up11·11 months agoCause I don’t like to think about my x
minus-squarerwhitisissle@lemmy.worldlinkfedilinkarrow-up7arrow-down1·11 months agoBecause :wq to me means “Issue command write, followed by command quit.” “Issue command x” to me means nothing in the context of vim, and ctrl + x on most systems is reserved for cutting, so it just “feels” wrong.
minus-squarelars@lemmy.sdf.orglinkfedilinkarrow-up3·11 months ago:x was a gamechanger. And it doesn’t update the file’s modify date if you made no changes. Sometimes I just sit back and think about all that saved time and effort so much that I have actually lost time by switching from :wq.
minus-squareAVincentInSpace@pawb.sociallinkfedilinkEnglisharrow-up1·11 months agosame reason I prefer :wq to ZZ. muscle memory.
minus-squaremetallic_z3r0@infosec.publinkfedilinkarrow-up5·11 months agoHmm, I didn’t expect that last one.
minus-squareknorke3@lemm.eelinkfedilinkarrow-up0·11 months agohelp! i wanna leave! :wq why isn’t it working???
minus-squareEuroNutellaMan@lemmy.worldlinkfedilinkarrow-up2·11 months agoYou have been chosen by the Vim Dommy Mommy. You cannot leave.
If you wanna save changes: :wq
If not: :q!
Else: :SpanishInquisition
Why do so many people prefer :wq over :x?
Cause I don’t like to think about my x
Because :wq to me means “Issue command write, followed by command quit.” “Issue command x” to me means nothing in the context of vim, and ctrl + x on most systems is reserved for cutting, so it just “feels” wrong.
:x
was a gamechanger. And it doesn’t update the file’s modify date if you made no changes.Sometimes I just sit back and think about all that saved time and effort so much that I have actually lost time by switching from
:wq
.same reason I prefer :wq to ZZ. muscle memory.
why not?
There is a other option?
Hmm, I didn’t expect that last one.
help! i wanna leave!
:wq
why isn’t it working???
You have been chosen by the Vim Dommy Mommy. You cannot leave.