I’ve compiled a list of my favorite – and I think the most useful – Sublime Text 2 keyboard shortcuts, for both Mac & Windows. If you learn them, you should see a huge boost in your productivity as you fly around your editor.
| Command | Mac shortcut | Windows shortcut |
|---|---|---|
| Open universal search menu | ⌘ + P |
Ctrl + P |
| – Open file in project | Type in search: [file name] |
Type in search: [file name] |
| – Jump to line (within universal search) | Type in search: :[line number] |
Type in search: :[line number] |
| Switch between open tabs | ⌘ + Alt + [← or →] |
Ctrl + [PgUp or PgDown] |
| Comment out selected line(s) | ⌘ + / |
Ctrl + / |
| Jump to matching bracket | Ctrl + M |
Ctrl + M |
| Select next occurrence of highlighted text | ⌘ + D |
Ctrl + D |
| Select all occurrences of highlighted text | Ctrl + ⌘ + G |
Alt + F3 |
| Open project-wide find/replace | ⌘ + Shift + F |
Ctrl + Shift + F |
| Find in current file | ⌘ + F |
Ctrl + F |
