Re:Intermediate Vim
by contras1970 on Wednesday May 01, 2019 @07:28AM
(#19796132)
this is somewhat shorter:
i agree this example is silly. i'd do something like
[ Parent
| on HN ]
Yeah, it is a toy example on purpose.
Macros really shine when you need to do a bit more complex stuff, there is certainly a cutoff between ease of regex "from the top of my head" vs. spending time formulating it.