News for hackers. Stuff that matters.
Re:Sublime Text 2.0 Released by amatix on Tuesday June 26, 2012 @04:54PM (#4164053)
Example: Take some log text, where all you're interested in is the messages, and you don't want hostname/date/time/etc cruft.

1. Ctrl+A Select all the lines

2. Ctrl+Shift+L to split into multiple cursors, 1 per line

3. Home/Ctrl+Shift+arrows/etc to select stuff to copy/delete

I find it easier than constructing a regex to pass to find/replace.

There are no comments on this comment yet.