~/hyde on Nostr: npub1kazdt…yq9qu that's where I love #vim You could easily delete all those things ...
npub1kazdtmvyzcnptvzjl9zljdnr84kgaup2dm4wu8vx42vz5c05nq3sgyq9qu (npub1kaz…q9qu) that's where I love #vim
You could easily delete all those things in different ways, but I would probably use a recursive macro:
- position the cursor on the first line
- type this command in normal mode qqda]x@qq
And you're done. Of course, you need to invest some time to learn the #editor.
Let's explain the command :
qq record a macro named q
da] delete all between [ ]
x remove the space after the closing ]
@q execute the macro q
q end the recording of the macro
Easy :)
You could easily delete all those things in different ways, but I would probably use a recursive macro:
- position the cursor on the first line
- type this command in normal mode qqda]x@qq
And you're done. Of course, you need to invest some time to learn the #editor.
Let's explain the command :
qq record a macro named q
da] delete all between [ ]
x remove the space after the closing ]
@q execute the macro q
q end the recording of the macro
Easy :)