A handy list of selection shortcuts.
Here are the official docs: Keyboard and Mouse
Building blocks:
- Add to selection: Ctrl
- Subtract from selection: Alt
- Linear selection: Left Click
- Block selection: Shift + Right Click
Combine as you see fit. For example:
- Add to selection: Ctrl + Left Click (and optionally drag)
- Subtract from select: Alt + Left Click and drag (this combination doesn't work in Sublime Text 3, but supposedly it works in 2)
- Add block selection: Ctrl + Shift + Right Click (and drag)
- Subtract block selection: Alt + Shift + Right Click (and drag)
Windows/Linux
- Return to single selection mode: Esc
- Extend selection upward/downward at all carets: Ctrl + Alt + Up/Down
- Extend selection leftward/rightward at all carets: Shift + Left/Right
- Move all carets up/down/left/right, and clear selection: Up/Down/Left/Right
- Undo the last selection motion: Ctrl + U
- Add next occurrence of selected text to selection: Ctrl + D
- Add all occurrences of the selected text to the selection: Alt + F3
- Rotate between occurrences of selected text (single selection): Ctrl + F3
- Turn a single linear selection into a block selection, with a caret at the end of the selected text in each line: Ctrl + Shift + L
Mac OS X
- Return to single selection mode: Esc
- Extend selection upward/downward at all carets: ^⇧↑, ^⇧↓
- Extend selection leftward/rightward at all carets: ⇧←/⇧→
- Move all carets up/down/left/right, and clear selection: ←, ↑, ↓, →
- Undo the last selection motion: ⌘U
- Add next occurrence of selected text to selection: ⌘D
- Add all occurrences of the selected text to the selection: ^⌘G
- Rotate between occurrences of selected text (single selection): not really sure
- Turn a single linear selection into a block selection, with a caret at the end of the selected text in each line: ⇧⌘L
hi, i wrote a plugin that solves the subtract selection bug see it here: https://github.com/AmjadHD/cancel_selection