News for hackers. Stuff that matters.
Re:Efficient Editing With vim by chewbranca on Friday September 25, 2009 @06:25PM (#844568)
I've got that cheat sheet saved on my computer and I've looked at it several times before, but today was the first time I realized that you can hit '&' to repeat the last :s command on the current line. Very slick!!
Re:Efficient Editing With vim by joshuaxls on Friday September 25, 2009 @07:05PM (#844643)
Yep, and 'g&' is really helpful. It runs the last substitute across the entire file, preserving flags.