Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use a VIM macro for this.


Yup, same here. @aI"<esc>A",<esc>j off the top of my head and then something like 1000@a. I'd then just add brackets and remove the trailing comma.

Showing off macros (in my case evil mode, but I suppose it's the same for emacs) is a nice party trick that has impressed some of my coworkers.

Sadly it does not really do so well at actual parties...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: