Reputation: 122052
I recently discovered the insanely useful ctrl+D functionality in sublime text. With a careful eye, it's almost as functional for things like renaming as far more sophisticated refactoring tools.
One thing bothers me. As I ctrl+D through my selections, sometimes I've selected 10 items and overshoot by one (eg. into another method). Is there a way to reverse direction and "deselect the last selected item"?
Upvotes: 29
Views: 5386
Reputation: 34013
For Mac:
Skip last: cmd+u
Skip current: cmd+k, cmd+d
Unfortunately though, when the "selection loop" reaches bottom of document and starts from the top again - the functionality is lost.
Upvotes: 3
Reputation: 707
ctrl+u as per sublimetext.com/docs and tested by me.
ctrl+k, ctrl+d will skip the current selection.
Upvotes: 41