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-squareJustinAngel@lemmy.worldlinkfedilinkarrow-up14arrow-down1·1 year agoVIM Golf… Same outcome, fewer strokes: %d|wq
minus-squareitslilith@lemmy.blahaj.zonelinkfedilinkarrow-up5arrow-down1·1 year 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.