Waffelson@lemmy.world to linuxmemes@lemmy.world · 1 year ago:wq!lemmy.worldimagemessage-square109fedilinkarrow-up1212arrow-down171
arrow-up1141arrow-down1image:wq!lemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 1 year agomessage-square109fedilink
minus-squareEuroNutellaMan@lemmy.worldlinkfedilinkarrow-up49·1 year agoIf you wanna save changes: :wq If not: :q! Else: :SpanishInquisition
minus-squareGoku@lemmy.worldlinkfedilinkarrow-up7arrow-down1·1 year agoWhy do so many people prefer :wq over :x?
minus-squareEuroNutellaMan@lemmy.worldlinkfedilinkarrow-up11·1 year agoCause I don’t like to think about my x
minus-squarerwhitisissle@lemmy.worldlinkfedilinkarrow-up8arrow-down1·1 year 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·1 year 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·1 year agosame reason I prefer :wq to ZZ. muscle memory.
minus-squaremetallic_z3r0@infosec.publinkfedilinkarrow-up4·1 year agoHmm, I didn’t expect that last one.
minus-squareAndrew@mander.xyzlinkfedilinkarrow-up3·1 year agoI did not expect the Spanish inquisition!
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
.There is a other option?
why not?
same reason I prefer :wq to ZZ. muscle memory.
Hmm, I didn’t expect that last one.
I did not expect the Spanish inquisition!