News for hackers. Stuff that matters.
Re:Show HN: Subvim – Vim customized to be like SublimeText by vitalique on Saturday April 06, 2013 @05:57PM (#5505199)
Yep, using macros are the way to go for a task like this one. I'd use 'A' here to jump into the insert mode at the end of line though (commenting because '$i' part made me realize that I had probably never used '$' for movement at all).
Re:Show HN: Subvim – Vim customized to be like SublimeText by efnx on Sunday April 07, 2013 @02:56PM (#5508204)
That's a good point, '$i' starts inserting just before the last character, whereas with 'A' you'd save the '$i' but have to delete the quote. One cat with many ways to skin it!