Line Actions | |
---|---|
Ctrl + X Ctrl + Shift + K |
Delete line |
Ctrl + Enter | Add a new Line below |
Ctrl + Shift + Enter | Add a new line above |
Ctrl + Shift + Up/Down | Move line up/down |
Ctrl + L | Select line - Repeat |
Ctrl + ] | Indent line(s) |
Ctrl + [ | Un-indent line(s) |
Ctrl + Shift + D | Duplicate line(s) |
Ctrl + J | Join line below to end of line |
Ctrl + / | Comment/un-comment |
Tabs | |
---|---|
Ctrl + Shift + T | Open last closed tab |
Ctrl + PgUp | Cycle up through tabs |
Ctrl + PgDn | Cycle down through tabs |
Alt + [NUM] | Switch to tab [NUM] |
View Commands | |
---|---|
Alt + Shift + 1-4 | Set # Columns |
Alt + Shift + 8/9 | Set 2 or 3 Rows |
Alt + Shift + 5 | Set 2x2 Grid |
Ctrl + Shift + # | Move File to Group |
Ctrl + # | Move to Group |
Ctrl + K B | Toggle Sidebar |
F11 | Toggle Fullscreen |
Shift + F11 | Distraction Free |
Ctrl + ` | Show console |
F6 | Show Spellcheck |
Ctrl + NumPad+ | Font Size ++ |
Ctrl + NumPad- | Font Size -- |
Code Folding | |
---|---|
Ctrl + Shift + [ | Fold |
Ctrl + Shift + ] | Unfold |
Ctrl + K J | Unfold all |
Ctrl + K 1 | Move file to group |
Ctrl + K # | Fold Level # |
Ctrl + K T | Fold tag attributes |
Editing | |
---|---|
Ctrl + D | Select word - Repeat select others |
Ctrl + Shift + M | Select parentheses contents |
Ctrl + Del | Delete Word forward |
Ctrl + Backspace | Delete Word backwards |
Ctrl + K K | Delete from cursor to end of line |
Ctrl + K + ⌫ | Delete from cursor to start of line |
Ctrl + K U | Transform to UPPERCASE |
Ctrl + K L | Transform to lowercase |
Ctrl + T | Transpose letters |
Ctrl + Shift + / | Block comment current selection |
Ctrl + Y | Redo last keyboard shortcut cmd |
Ctrl + Shift + V | Paste and indent correctly |
Ctrl + Space | Select next auto-complete suggestion |
Alt + . | Close HTML tag |
Ctrl + U | Soft undo; jumps to your last change before undoing change when repeated |
Selection | |
---|---|
Ctrl + D | Multiple selection |
Ctrl + K D | Skip selection |
Ctrl + Alt + up/down | Add new line with cursor?? |
Ctrl + Shift + space | Expand Selection to Scope |
Ctrl + Shift + M | Expand Selection to Brackets |
Ctrl + Shift + J | Expand Selection to Indent |
Ctrl + A | Expand Selection to Tag |
Esc | Go to Single Selection |
Bookmarks | |
---|---|
Ctrl + F2 | Toggle bookmark |
F2 | Next bookmark |
Shift + F2 | Previous bookmark |
Ctrl + Shift + F2 | Clear bookmarks |
Alt + F2 | Select all bookmark |
Mark | |
---|---|
Ctrl + K Space | Add a mark |
Ctrl + K A | Select to Mark |
Ctrl + K W | Delete to Mark |
Ctrl + K X | Switch location with mark |
Ctrl + K G | Clear Mark |
Find/Replace | |
---|---|
Ctrl + F | Find |
F3 | Find Next |
Shift + F3 | Find Previous |
Ctrl + H | Replace |
Ctrl + ⇧ + F | Find in files |
Ctrl + E | Find current selection |
F4 | Find next (all) |
-- Sublime Text Shortcuts --