Shortcuts Sublime Text for Windows

106 shortcuts2,712 views
Open Trainer

General Editing Shortcuts

WindowsAction
Ctrl+LSelect Line,
Ctrl+DSelect current word, continue press D for expanding selection. Then continue in multi-line editing mode
Alt+F3Select all occurrences of current word, then continue in multi-line editing mode
Ctrl+Shift+LWith multiple lines selected - enter multi-line editing mode.
EscCancel Selection
Ctrl+Shift+JSelect lines in this indention
Ctrl+Shift+AExpand Selection
Ctrl+Shift+SpaceExpand selection
Ctrl+Shift+MSelect current function enclosed by brackets or parentheses

Cool Text Manipulation

WindowsAction
Ctrl+Shift+Arrow Up/Arrow DownMove line or selection up arrow/ down arrow
Ctrl+EnterInsert line after and position cursor at beginning of new line
Ctrl+EnterInsert line after and position cursor at beginning of new line
Ctrl+JJoin line below at end of current line
Ctrl+Shift+Arrow DownDuplicate lines (on Sublime 3 on Windows this seem to no longer work, try Ctrl+Shift+D instead)
Ctrl+TTranspose
F9Sort Lines case sensitive
Shift+F9Sort Lines case in-sensitive
Ctrl+]/[Indent/ unindent
Ctrl+Shift+DDuplicate line or selection
Ctrl+/Toggle Comment line
Ctrl+Shift+/Toggle Comment block
Ctrl+kuChange selection to Uppercase
Ctrl+KLChange selection to Lowercase
Alt+QWrap lines to 80 characters and remove indent

Deletions

WindowsAction
DeleteDelete character to the right
BackspaceDelete character to the left
Ctrl+BackspaceDelete word to the left
Ctrl+DeleteDelete word to the right
Ctrl+Shift+BackspaceDelete from cursor to beginning of line
Ctrl+Shift+DeleteDelete from cursor to end of line

Undo and Redo

WindowsAction
Ctrl+ZUndo
Ctrl+Shift+ZRedo
Ctrl+YRedo or repeat
Ctrl+USoft Undo
Ctrl+Shift+USoft redo

Cut, Copy and Paste

WindowsAction
Cut and Copy without selection takes complete lineShift+Delete
CutCtrl+Insert
CopyShift+Insert
PasteCtrl+X
CutCtrl+C
CopyCtrl+V
PasteCtrl+Shift+V
Paste and match current indentionCtrl+KV
Paste from History

Find and Replace

WindowsAction
Ctrl+FStandard Find
Ctrl+HFind and Replace
Ctrl+Shift+FFind and Replace in open tabs/ files and folders
Ctrl+Shift+HReplace next
F3/Shift+F3Find next/ previous
Ctrl+Shift+FCreates file with search results from all open files in new tab
Ctrl+DFind and highlight current word in text
Ctrl+F3Find under
Ctrl+Shift+F3Find under previous
Alt+F3Find all under
Ctrl+ESlurp find string
Ctrl+Shift+ESlurp replace string

Menu Control

WindowsAction
Ctrl+Shift+NNew Window
Ctrl+Shift+WClose Window
Ctrl+OOpen File
Ctrl+Shift+TReopen last file
Ctrl+NNew file
Ctrl+SSave file
Ctrl+Shift+SSave file as
Ctrl+F4Close File
Ctrl+WClose Sublime

Bookmarks and Marks

WindowsAction
Ctrl+F2Toggle Bookmark
F2Go to next bookmark
Shift+F2Go to previous bookmark
Alt+F2Select all bookmarks
Ctrl+KSpaceSet Mark
Ctrl+KASelect to mark
Ctrl+KWDelete to mark
Ctrl+KXSwap with mark
Ctrl+KYYank

Manage Sublime Window, Files and Tabs

WindowsAction
Ctrl+KBToggle sidebar
Ctrl+Page Down/Page UpMove to next/ previous open tab
Ctrl+Tab/Ctrl+Shift+TabMove to next/ previous open tab by stack (order they were opened)
Ctrl+Shift+TReopen last closed tab
Ctrl+/-Zoom - increase/ decrease font size
Ctrl+PQuick Open - Show file list of currently opened file
F11Toggle full screen
Shift+F11Toggle full screen distraction free

Split Panes

WindowsAction
Alt+Shift+1Split layout to 1 pane
Alt+Shift+2Split layout to 2 vertical panes
Alt+Shift+3Split layout to 3 vertical panes
Alt+Shift+4Split layout to 4 vertical panes
Alt+Shift+5Split layout to 2 vertical and 2 horizontal panes
Alt+Shift+8Split layout to 2 horizontal panes
Ctrl+1Focus/ cursor on split pane #1
Ctrl+2Focus/ cursor on split pane #2
Ctrl+3Focus/ cursor on split pane #3
Ctrl+4Focus/ cursor on split pane #4
Ctrl+Shift+1.…4New pane in pane #1 thru #4
Ctrl+K, then Arrow Up (with Ctrl pressed)Open new pane, and move current window into new pane
Ctrl+K, then Arrow DownClose current pane
Ctrl+K, then left arrow/Arrow RightMove to next pane to the left arrow/ right arrow
Ctrl+K, then Ctrl+Shift+Arrow Right/Arrow LeftOpen new tab in pane to the left arrow/ right arrow\
Alt+1…0Jump to tab 1..10 in current pane

Others

WindowsAction
Ctrl+Shift+[/]Fold/ unfold
Ctrl+K, then Ctrl+1.…9Fold by level 1….9
Ctrl+K, then Ctrl+JUnfold all
F6Toggle spell checking
Ctrl+F6Find next misspelling
Ctrl+Shift+F6Find previous misspelling
Ctrl+`Toggle Console
Alt+V, then WToggle word wrap - View - Word wrap