fullstack

Sublime Text

A visual cheat-sheet for the 49 keyboard shortcuts found in Sublime Text

#Keyboard Shortcuts

#Editing

Shortcut Action
Ctrl X Cut line
Ctrl Enter Insert line after
Ctrl Shift Enter Insert line before
Ctrl Shift Up Move line/selection up
Ctrl Shift Down Move line/selection down
Ctrl L Select line - Repeat to select next lines
Ctrl D Select word - Repeat selects other occurrences
Ctrl M Jump to closing parentheses - Repeat to jump to opening parentheses
Ctrl Shift M Select all contents of the current parentheses
Ctrl Shift K Delete line
Ctrl K, K Delete from cursor to end of line
Ctrl K Backspace Delete from cursor to start of line
Ctrl ] Indent current line(s)
Ctrl [ Un-indent current line(s)
Ctrl Shift D Duplicate line(s)
Ctrl J Join line below to the end of the current line
Ctrl / Comment/un-comment current line
Ctrl Shift / Block comment current selection
Ctrl Y Redo, or repeat last keyboard shortcut command
Ctrl Shift V Paste and indent correctly
Ctrl Space Select next auto-complete suggestion
Ctrl U Soft undo; jumps to your last change before undoing, change when repeated
Alt Shift W Wrap selection in HTML tag
Alt . Close current HTML tag
Alt Q Hard wrap line to ruler column setting
Shortcut Action
Ctrl P Quick-open files by name
Ctrl R Goto symbol
Ctrl ; Goto word in current file
Ctrl G Goto line in current file

#General

Shortcut Action
Ctrl Shift P Command prompt
Ctrl K, B Toggle sidebar
Ctrl Shift Alt P Show scope in status bar

#Find/Replace

Shortcut Action
Ctrl F Find
Ctrl H Replace
Ctrl Shift F Find in files

#Split window

Shortcut Action
Alt Shift 1 Revert view to single column
Alt Shift 2 Split view into two columns
Alt Shift 3 Split view into three columns
Alt Shift 4 Split view into four columns
Alt Shift 5 Set view to grid (4 groups)
Alt Shift 8 Split view into two rows
Ctrl 1-4 Jump to group where number is 1-4
Ctrl Shift 1-4 Move file to specified group where number is 1-4

#Bookmarks

Shortcut Action
Ctrl F2 Toggle bookmark
F2 Next bookmark
Shift F2 Previous bookmark
Ctrl Shift F2 Clear bookmarks

#Text manipulation

Shortcut Action
Ctrl K, U Transform to uppercase
Ctrl K, L Transform to lowercase

#Also see