---
# System prepended metadata

title: Sublime TextT 3 CheatSheet

---

# Sublime TextT 3 CheatSheet
### Access every command with the command palette
shift + cmd + P : Command palette

### Goto anything
cmd + P : Goto file
ctrl + G : Goto line
cmd + P : Fuzzy search
cmd + R : Goto symbol

### Quick selections
cmd + D               : Select word
cmd + K, cmd + D      : Skip and add next
cmd + U               : Undo quick select
cmd + L               : Select line
ctrl + cmd + G        : Select all in file
shift + cmd + space   : Expand selection to scope
shift + cmd + L       : Split into lines

### Edit code
cmd + J              : Join 2 lines
cmd + shift + D      : Duplicate line
cmd + shift + R      : Reindent
cmd + shift + K      : Delete line
ctrl + cmd + up/down : Move line/selection up/down
alt + cmd + V        : Paste from history
shift + cmd + /      : Comment/uncomment line
alt + backspace      : Delete word by word
alt + fn + backspace : Forward delete word by word
cmd + shift + enter  : Insert line before
cmd + enter          : Insert line after
ctrl + k, ctrl + l   : To Lowercase
ctrl + k, ctrl + u   : To Uppercase

### Searching
cmd + F                 : Search in file
shift + cmd + F         : Search in all files
<open files>            : where filter

### Miscelaneous
alt + cmd + right/left  : Switch open tab
ctrl + ]                : Indent selection
ctrl + [                : Unindent selection
alt + -                 : Go to previous cursor position
alt + shift + -         : Go to next previous cursor position
ctrl + b                : Build and execute file

### Must have packages
A file icon, BracketHighlighter, Color Highlighter, Comment-Snippets, DevDocs, EditorConfig, Emmet, File Rename, Git, Git blame, GitGutter, HTML-CSS-JS Prettify, JavaScript Completions, JavaScript Patterns, JavaScript Snippets, LESS, Nodejs, Package Control, Pretty JSON, SideBarEnhancements, SublimeLinter, SublimeLinter-contrib-eslint, Terminal, Termius, auto save
    
https://github.com/LeCoupa/awesome-cheatsheets/blob/master/tools/sublime_text.md