Waffelson@lemmy.world to linuxmemes@lemmy.world · 11 months ago:wq!lemmy.worldimagemessage-square55fedilinkarrow-up1187arrow-down171
arrow-up1116arrow-down1image:wq!lemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 11 months agomessage-square55fedilink
minus-squarefiliberto_kunstlinger@lemmy.worldlinkfedilinkarrow-up12·edit-211 months agoexactly. gg -> go to top of document d -> delete (actually, it’s cut, but it destroys the mnemonic) G -> here is a modifier to “d” and tells it do “delete until end of document” w -> write current state of buffer to disk q -> exit program
minus-squaresurewhynotlem@lemmy.worldlinkfedilinkarrow-up1·11 months ago gg Huh… I always just used :1
exactly.
gg -> go to top of document
d -> delete (actually, it’s cut, but it destroys the mnemonic)
G -> here is a modifier to “d” and tells it do “delete until end of document”
w -> write current state of buffer to disk
q -> exit program
Huh… I always just used :1