3 ms·
FYI, took me like 20 in Sublime Text. 1. Select lines. Shift-Ctrl-End, Alt-l, Home. 2. Type up to the first quote. 3. Move 3 words along. Ctrl-Right, Ctrl-Ri
by Veedrac 10y ago
FYI, took me like 20 in Sublime Text.
1. Select lines. Shift-Ctrl-End, Alt-l, Home.
2. Type up to the first quote.
3. Move 3 words along. Ctrl-Right, Ctrl-Right, Ctrl-Right.
4. Second quote, comma.
5. Go to start of next word. Ctrl-Right, Ctrl-Left. It's also easy to normalize spacing at this point if you just hold shift then press space.
6. Type "StatusType."
7. Press End, type ");".
Most of the time was spent in point 2.
Admittedly Alt-l isn't OS-native, but multiple cursors are so useful that you kind'a learn to assume them.