I got something like this in vim:
awqwq:bsak
cslqw:aslkjqwd
ska:jsqpwiq
salsqwqw:wpqwi
How to change it quickly to this:
awqwq : bsak
cslqw : aslkjqwd
ska : jsqpwiq
salsqwqw : wpqwi
I got something like this in vim:
awqwq:bsak
cslqw:aslkjqwd
ska:jsqpwiq
salsqwqw:wpqwi
How to change it quickly to this:
awqwq : bsak
cslqw : aslkjqwd
ska : jsqpwiq
salsqwqw : wpqwi
Save the following macro:
f:40i ^[l4a ^[20|dt:j0to register
a
. Then place the cursor at the beginning of the text and repeat the macro with 4@a
. In this macro ^[
is the escape character which can be obtained from insert mode by typing <ctrl-v><esc>
.