Waffelson@lemmy.world to linuxmemes@lemmy.world · 11 months ago:wq!lemmy.worldimagemessage-square115fedilinkarrow-up1226arrow-down173
arrow-up1153arrow-down1image:wq!lemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 11 months agomessage-square115fedilink
minus-squareJustinAngel@lemmy.worldlinkfedilinkarrow-up15arrow-down1·11 months agoVIM Golf… Same outcome, fewer strokes: %d|wq
minus-squareitslilith@lemmy.blahaj.zonelinkfedilinkarrow-up7arrow-down1·11 months agoyou can replace wq with x :%d|x
VIM Golf… Same outcome, fewer strokes:
%d|wq
you can replace wq with x
:%d|x
Only in Vim, not in Vi.