Editing
command + x | Cut line |
command + return | Insert line after |
command + shift + return | Insert line before |
command + control + up | Move line/selection up |
command + control + down | Move line/selection down |
command + l | Select line (repeat to select next line) |
command + d | Select word (repeat to select next occurrence) |
control + command + g | Select all occurrences of current selection |
control + shift + up | Extra cursor on the line above |
control + shift + down | Extra cursor on the line below |
control + m | Jump to closing parentheses (repeat to jump to opening parentheses) |
control + shift + m | Select all contents of the current parentheses |
control + a | Move to beginning of line |
command + left | Move to beginning of text on line |
control + e | Move to end of line |
command + k | Delete from cursor to end of line |
command + k + delete | Delete from cursor to start of line |
command + ] | Indent current line(s) |
command + [ | Un-indent current line(s) |
command + shift + d | Duplicate line(s) |
command + j | Join line below to the end of the current line |
command + / | Comment/un-comment current line |
command + option + / | Block comment current selection |
command + y | Redo, or repeat last keyboard shortcut command |
command + shift + v | Paste and indent correctly |
control + space | Select next auto-complete suggestion |
control + u | Soft undo; jumps to your last change before undoing change when repeated |
control + shift + up | Column selection up |
control + shift + down | Column selection down |
control + shift + w | Wrap Selection in html tag |
control + shift + k | Delete current line of cursor |
Navigation
command + t | Quickly open files by name |
command + r | Go to symbol |
control + g | Go to line in current file |
General
command + shift + p | Command Palette |
control + ` | Python Console |
control + command + f | Toggle fullscreen mode |
control + shift + command + f | Toggle distraction-free mode |
command + b | Toggle side bar |
control + shift + p | Show scope in status bar |
Find/Replace
command + f | Find |
command + option + f | Replace |
command + shift + f | Find in files |
command + i | Incremental Find |
Scrolling
control + v | Scroll down one page |
control + l | Center current line vertically in page |
command + down | Scroll to end of file |
command + up | Scroll to start of file |
Tabs
command + shift + t | Open last closed tab |
command + 1 through 9 | Jump to tab in current group |
command + 0 | Jump to 10th tab in current group |
command + shift + [ | Cycle left through tabs |
command + shift + ] | Cycle right through tabs |
control + tab | Cycle up through recent tabs |
shift + control + tab | Cycle down through recent tabs |
Split window
command + option + 1 | Revert view to single column |
command + option + 2 | Split view into two columns |
command + option + 3 | Split view into three columns |
command + option + 4 | Split view into four columns |
command + option + 5 | Set view to grid (4 groups) |
control + 1 through 4 | Jump to group |
control + shift + 1 through 4 | Move file to specified group |
Bookmarks
command + f2 | Toggle bookmark |
f2 | Next bookmark |
shift + f2 | Previous bookmark |
shift + command + f2 | Clear bookmarks |
Text manipulation
command + u | Transform to uppercase |
command + l | Transform to lowercase |
command + control + down | Clip text upwards/downwards |