Sublime Text and Atom Shortcuts and Key Bindings
Key Binding | Description |
---|---|
Cmd + L |
Select current line |
Cmd + D |
Select current word/token |
Cmd + U |
Unselect the next matching characters (inverse of the previous command) |
Cmd + Ctrl + G |
Select all matching characters / all occurrences |
Cmd + Ctrl + Up or Down |
Move the current line Up or Down |
Cmd + Shift + D |
Duplicate line |
Cmd + / |
Toggle comments |
Opt + Shift + left/right |
Select to the beginning/end of the word |
Shift + Cmd + left/right |
Select to the first/last character of the line |
Shift + Cmd + up/down |
Select to top/bottom of document |
Key Binding | Description |
---|---|
Cmd + F |
Find in file |
Cmd + G |
Find next occurrence |
Cmd + Shift + F |
Find in project |
Cmd + Opt + F |
Find and replace all |
Key Binding | Description |
---|---|
Ctrl + G |
Go to line (also Cmd + P and type : ) |
Cmd + R |
Go to symbol (also Cmd + P and type @ ) |
Opt + Cmd + Down Arrow |
Go to definition |
Cmd + Shift + { |
Previous file |
Cmd + Shift + } |
Next file |
Key Binding | Description |
---|---|
Cmd + \ |
Toggle tree-view sidebar |
Cmd + Shift + \ |
Locate current file on file explorer (needs to be configured in Sublime) |
Ctrl + Cmd + F |
Toggle fullscreen |
Key Binding | Description |
---|---|
Cmd + Opt + 1 |
Single column/row layout |
Cmd + Opt + 2 |
Double column layout |
Cmd + Opt + Shift + 2 |
Double row layout |
Key Binding | Description |
---|---|
Alt + Cmd + [ |
Fold current code block |
Alt + Cmd + ] |
Unfold current code block |
Key Binding | Description |
---|---|
Ctrl + T |
Transpose characters on either side of cursor |
Opt + backspace |
Delete word to the left of the cursor |
Fn + Opt + backspace |
Delete word to the right of the cursor |
Key Binding | Description |
---|---|
Cmd + ] |
Indent current line |
Cmd + [ |
Outdent current line |
Cmd + Enter |
Insert new line after current line |
Cmd + Shift + Enter |
Insert new line before current line |
Ctrl + K |
Delete line to the right of the cursor |
Cmd + J |
Join current and next lines |
Key Binding | Description |
---|---|
Ctrl + - |
Jump back to last cursor |
Ctrl + Shift + - |
Jump forward to next cursor |
Ctrl + M |
Jump to matching bracket |
Cmd + Shift + L |
split selection into multiple cursors |
Key Binding | Description |
---|---|
Cmd + Fn + F2 |
Set bookmark |
Ctrl + R |
Go to next bookmark |