General⌘ + ⇧ + P | Command Palette | ⌘ + P | Goto Anything | ⌘ + R | Goto Symbol | ⌘ + N | New File | ⌘ + S | Save File | ⌘ + ⇧ + S | Save File As | ⌘ + ⌥ + S | Save All | ⌘ + O | Open File | ⌘ + W | Close File | ⌘ + ⇧ + T | Reopen Closed File | ⌘ + ⇧ + N | New Window | ⌘ + ⇧ + W | Close Window | ⌘ + K, ⌘ + B | Show Sidebar | ⌃ + ` | Show Console | ⌘ + ⌃ + F | Enter Full Screen | ⌘ + ⌃ + ⇧ + F | Enter Distraction Free Mode |
Moving / Editing⌘ + Z | Undo | ⌘ + ⇧ + Z | Redo | ⌘ + Y | Repeat | ⌘ + C | Copy | ⌘ + Y | Yank (inserts the text that’s on top of the kill ring) | ⌘ + X | Cut | ⌘ + V | Paste | ⌘ + ⇧ + V | Paste and Indent | ⌘ + ] | Indent | ⌘ + [ | Unindent | ⌘ + ⌃ + ↑/↓ | Swap Line Up/Down | ⌘ + ⇧ + D | Duplicate Line | ⌃ + ⇧ + K | Delete (kill) Line | ⌘ + J | Join Lines | ⌘ + / | Toggle Comment | ⌘ + ⌥ + / | Toggle Block Comment | ⌘ + ⇧ + ↩ | Insert Line Before | ⌘ + ↩ | Insert Line After | ⌘ + ⌫ | Delete to Beginning of Line | ⌃ + K | Delete to End of Line | ⌃ + A | Move to Beginning of Line | ⌃ + E | Move to End of Line | ⌃ + P | (Previous) Move Up | ⌃ + F | (Forward) Move Right | ⌃ + N | (Next) Move Down | ⌃ + B | (Back) Move Left | ⌃ + T | Transpose (swap two characters or words; buggy behaviour) | ⌘ + ⌥ + . | Close Tag | ⌃ + ⇧ + W | Wrap Selection with Tag | ⌘ + K, ⌘ + U | Convert Selected Text to Uppercase | ⌘ + K, ⌘ + L | Convert Selected Text to Lowercase | ⌘ + ⌥ + Q | Wrap Paragraph at Ruler | F5 | Sort Lines | ⌃ + F5 | Sort Lines (Case Sensitive) | ⌃ + G | Goto Line | ⌃ + M | Jump to Matching Brackets (does not work with HTML/XML tags) | ⌃ + L | Scroll to Selection (centers the screen to cursor) | ⌃ + ⌥ + ↑/↓ | Scroll Line Up/Down | ⌃ + Q | Record Macro | ⌃ + ⇧ + Q | Playback Macro |
| | Selection⌘ + U | Undo | ⌘ + ⇧ + U | Soft Undo | ⌘ + ⇧ + L | Split Selection Into Lines (inserts multiple cursors) | ⌃ + ⇧ + ↑/↓ | Add Previous/Next Line (inserts multiple cursors) | ⎋ | Single Selection (when there are multiple selections; exits to visual mode first if you are in insert mode) | ⌘ + A | Select All | ⌘ + D | Expand Selection to Word | ⌘ + L | Expand Selection to Line | ⌘ + ⇧ + A | Expand Selection to Tag (HTML/XML) | ⌘ + ⇧ + Space | Expand Selection to Scope | ⌃ + ⇧ + M | Expand Selection to Brackets | ⌘ + ⇧ + J | Expand Selection to Indentation |
Search / Replace⌘ + F | Find | ⌘ + G | Find Next | ⌘ + ⇧ + G | Find Previous | ⌘ + I | Incremental Find | ⌘ + ⌥ + F | Replace | ⌘ + ⌥ + E | Replace Next | ⌘ + ⌥ + G | Quick Find (searches for the word under the cursor) | ⌘ + ⌃ + G | Quick Find All (selects all occurences of the word under the cursor) | ⌘ + E | Use Selection for Find | ⌘ + ⇧ + E | Use Selection for Replace | ⌘ + ⇧ + F | Find in Files (all open files) | F4 | Next Result (file search results) | ⇧ + F4 | Previous Result (file search results) |
Folding⌘ + ⌥ + [ | Fold (selection) | ⌘ + ⌥ + ] | Unfold | ⌘ + K, ⌘ + J | Unfold All | ⌘ + K, ⌘ + 1 | Fold All | ⌘ + K, ⌘ + 2-9 | Fold Level 2-9 | ⌘ + K, ⌘ + T | Fold Tag Attributes (HTML/XML) |
Bookmarking⌘ + K, ⌘ + Space | Set Mark | ⌘ + K, ⌘ + A | Select to Mark | ⌘ + K, ⌘ + W | Delete to Mark | ⌘ + K, ⌘ + X | Swap with Mark | ⌘ + K, ⌘ + G | Clear to Mark | ⌘ + F2 | Toggle Bookmark | F2 | Nex Bookmark | ⇧ + F2 | Previous Bookmark | ⌘ + ⇧ + F2 | Clear Bookmarks |
| | MiscellaneousF6 | Tobble Spell Check | ⌃ + F6 | Next Misspelling | ⌃ + ⇧ + F6 | Previous Misspelling | ⌘ + B | Build | ⌃ + Space | Show Completions | ⌘ + ⌥ + T | Special Characters |
Vintage Mode. | Repeat | d, count (optional), motion/dd/D | Delete motion (e.g. a word) or delete line or delete line to end | c , count (optional), motion / C | Change motion or change until end of line (enters insert mode) | y , count (optional), motion / yy | Yank motion or yank (copy) Line | p/P | Paste yanked/deleted text after/before the cursor | 0/$ | Move to the beginning/end of a line | g | Most of g’s power is not implemented in Vintage Mode. You can use the basic combinations gg and G to move to the top/bottom of the file. number, gg to move to that line. ga to display character encoding in the status bar. | a/A | Append to cursor/line (enters insert mode) | i/I | Insert before cursor/line (enters insert mode) | w/W | Move forward a Word/WORD (WORDs are whitespace-separated words) | b/B | Move backwards a Word/WORD | e/E | Move to the end of a Word/WORD | f, character/F, character | Find (character) forward/backwards on the current line | r, character | Replace character under cursor | t/T | ’till (forward/backward) Used in combination with motions like c or d. For example, d, t, { deletes everything until the next { character (on the current line). | o/O | Open line below/above (enters insert mode) | {/} | Move to the beginning/end of a paragraph | s/S or cc | Substitute character/line (enters insert mode) | H(igh)/M(id)/L(ow) | Move cursor to the top/middle/bottom of the screen | J | Join Lines | ZZ | CloseFile | x | Delete character under cursor | X | Backspace | v/V | Enters Visual Mode/Visual Line Mode | n/N | Find next/previous occurence of search | >, >/<, < | Indent/Unindent | ~ | SwapCase | q, character/@, character | Record/play macro |
|
Created By
Metadata
Favourited By
and 25 more ...
Comments
Awesome! Thank you!
'Tobble Spell Check' - that must be sarcasm :)
please,
can you make this same sheet for Windows?
Missing GOTO DEFINITION - ALT + CMD + DOWN_ARROW
Great! thanks
Add a Comment
Related Cheat Sheets