(no title)
contras1970 | 6 years ago
qq0i"<Esc>A",<Esc>jq@@
i agree this example is silly. i'd do something like :%s/.*/"&",/contras1970 | 6 years ago
qq0i"<Esc>A",<Esc>jq@@
i agree this example is silly. i'd do something like :%s/.*/"&",/
jnurmine|6 years ago
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.