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"?
Ctrl + D in SublimeText is "Quick Add Next." This appears to be equivalent to Ctrl + B in Brackets, which is "Add next match to Selection" on the Find menu.
Two handy ways to use find to work with the selection: Ctrl+F3 to find the next occurrence of the current word or selected text. Alt+F3 to find all occurrences of the current word or selected text.
While you can place multiple text cursors in Sublime Text with Cmd–Click (Mac) or Ctrl–Click (Windows), here's another technique that comes in handy. Hold Ctrl–Shift (Mac) or Ctrl–Alt (Windows) and hit Up or Down Arrow to place an additional text cursor above or below the current cursor.
ctrl+u as per sublimetext.com/docs and tested by me.
ctrl+k, ctrl+d will skip the current selection.
Also you can deselect anything while holding Alt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With