News for hackers. Stuff that matters.
Re:My Top Sublime Text 2 Plugins by johncoltrane on Thursday January 17, 2013 @05:17AM (#5071882)
Use <C-v> for column editing.

Your example is not a candidate for a macro, a simple substitution is enough:

    V2j to visually select the lines
    :s/_/_Class_<cr> a range corresponding to the visual selection '<,'> is inserted automatically before the s
If you are comfortable with ranges, the operation can be done in one go:

    :.,+2s/_/_Class_<cr>
Also there are already a few plugin authors exploring the multiple cursors idea, however gimmicky it is.

There are no comments on this comment yet.