-
Select some text and press
Cmd + Dto add more instances. If you want to skip the current instance, pressCmd + K,Cmd + D. If you go too far, pressCmd + Uto deselect the current instance. -
Cmd + Lexpands the selections to the end of the line.Cmd + Shift + Lsplits the selections into lines. -
To select some block, use
Shift + click, or pressAlt + Shift + Up/DownorCmd + Shift + Up/Down. -
Need to swap two letters or, better yet, two words? Experiment with
Ctrl + T. -
Toggle comment with
Cmd + /orCmd + Shift + /. -
To convert case, press
Cmd + K, Cmd + U/L. -
Selecting Text:
| Expand selection to scope | Cmd + Shift + Space |
| Expand selection to tag | Cmd + Shift + A |
| Expand selection to brackets | Ctrl + Shift + M |
| Expand selection to indentation | Cmd + Shift + J |
- Searching and Replacing:
| Open search panel | Cmd + F |
| Find next | Cmd + G |
| Find previous | Cmd + Shift + G |
| Find all | Alt + Enter |
| Open replace panel | Cmd + Alt + F |
| Replace next | Cmd + Alt + E |
| Replace all | Ctrl + Alt + Enter |
| Open Find in Files | Cmd + Shift + F |
| Next match | F4 |
| Previous match | Shift + F4 |
- Goto Anything:
| Open Goto Anything | Cmd + P |
| @symbol | Ctrl + R |
| #term | Ctrl + ; |
| :line_number | Ctrl + G |
see more: Sublime Text shortcuts