What is Nostr?
~/hyde /
npub1xw2…fr6a
2024-10-09 00:21:28
in reply to nevent1q…8zrg

~/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 :)
Author Public Key
npub1xw2qjnup5a9rcml6n8ekguca4csulpk97djuc0w70yt9sl39xsjshqfr6a