DEV Community

loading...

Discussion on: Automate typing with Vim macros

Collapse
vlasales profile image
Vlastimil Pospichal
:let i=1|g/^#/s/$/\=' '.i|let i=i+1
Collapse
raguay profile image
Richard Guay

Thanks. I’ve been looking for this type of stuff. I’m Using Onivim2 entirely except for this one item that I need fairly often.