Waffelson@lemmy.world to linuxmemes@lemmy.world · 11 months ago:wq!lemmy.worldimagemessage-square116fedilinkarrow-up1226arrow-down174
arrow-up1152arrow-down1image:wq!lemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 11 months agomessage-square116fedilink
minus-squareEuroNutellaMan@lemmy.worldlinkfedilinkarrow-up49·11 months agoIf you wanna save changes: :wq If not: :q! Else: :SpanishInquisition
minus-squareGoku@lemmy.worldlinkfedilinkarrow-up7arrow-down1·11 months agoWhy do so many people prefer :wq over :x?
minus-squareEuroNutellaMan@lemmy.worldlinkfedilinkarrow-up12·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-up4·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·10 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-up1·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.