0% found this document useful (0 votes)
91 views3 pages

Sublime Text 3 (OSX) Cheat Sheet: by Via

This document provides a cheat sheet for keyboard shortcuts in Sublime Text 3 for macOS. It lists shortcuts for general navigation and file management, moving and editing text, searching and replacing text, bookmarking locations, and using Vintage mode. The cheat sheet is organized into sections covering these areas of Sublime Text functionality in 3 pages of keyboard shortcuts.

Uploaded by

milos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views3 pages

Sublime Text 3 (OSX) Cheat Sheet: by Via

This document provides a cheat sheet for keyboard shortcuts in Sublime Text 3 for macOS. It lists shortcuts for general navigation and file management, moving and editing text, searching and replacing text, bookmarking locations, and using Vintage mode. The cheat sheet is organized into sections covering these areas of Sublime Text functionality in 3 pages of keyboard shortcuts.

Uploaded by

milos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Sublime Text 3 (OSX) Cheat Sheet

by martinprins via cheatography.com/16052/cs/1617/

General Moving / Editing (cont) Moving / Editing (cont)

++P Command Palette + Delete (kill) Line +L Scroll to Selection (centers the

+P Goto Anything +K screen to cursor)

+J Join Lines ++ Scroll Line Up/Down


+R Goto Symbol
+/ Toggle Comment /
+N New File
+Q Record Macro
+ Toggle Block Comment
+S Save File
+/ ++ Playback Macro
++S Save File As
Q
+ Insert Line Before
++S Save All
+
+O Open File Selection
+ Insert Line After
+W Close File +U Undo
+ Delete to Beginning of Line
++T Reopen Closed File + Soft Undo
++N New Window +K Delete to End of Line +U

++W Close Window +A Move to Beginning of Line + Split Selection Into Lines (inserts
+L multiple cursors)
+ K, + B Show Sidebar +E Move to End of Line
+ Add Previous/Next Line (inserts
+` Show Console +P (Previous) Move Up
+ / multiple cursors)
++F Enter Full Screen +F (Forward) Move Right
Single Selection (when there are
+++F Enter Distraction Free Mode +N (Next) Move Down multiple selections; exits to visual
+B (Back) Move Left mode first if you are in insert mode)
Moving / Editing
+T Transpose (swap two characters or +A Select All
+Z Undo words; buggy behaviour) +D Expand Selection to Word
++ Redo + Close Tag +L Expand Selection to Line
Z +.
+ Expand Selection to Tag (HTML/XML)
+Y Repeat + Wrap Selection with Tag +A
+C Copy +W
+ Expand Selection to Scope
+ K, Convert Selected Text to Uppercase +
+Y Yank (inserts the text thats on top
of the kill ring) +U Space
+ K, Convert Selected Text to Lowercase + Expand Selection to Brackets
+X Cut
+L +M
+V Paste
+ Wrap Paragraph at Ruler + Expand Selection to Indentation
++ Paste and Indent
+Q +J
V
F5 Sort Lines
+] Indent
+ Sort Lines (Case Sensitive)
+[ Unindent
F5
++ Swap Line Up/Down
+G Goto Line
/
+M Jump to Matching Brackets (does not
++ Duplicate Line
work with HTML/XML tags)
D

By martinprins Published 3rd January, 2014. Sponsored by Readability-Score.com


cheatography.com/martinprins/ Last updated 1st June, 2014. Measure your website readability!
Page 1 of 3. https://readability-score.com
Sublime Text 3 (OSX) Cheat Sheet
by martinprins via cheatography.com/16052/cs/1617/

Search / Replace Bookmarking Vintage Mode (cont)

+ Find + K, + Space Set Mark g Most of gs power is not


F + K, + A Select to Mark implemented in Vintage Mode. You
can use the basic combinations gg
+ Find Next
+ K, + W Delete to Mark
and G to move to the top/bottom of
G
+ K, + X Swap with Mark the file. number, gg to move to that
+ Find Previous
+ K, + G Clear to Mark line. ga to display character
+
encoding in the status bar.
G + F2 Toggle Bookmark
a/A Append to cursor/line (enters insert
+I Incremental Find F2 Nex Bookmark
mode)
+ Replace + F2 Previous Bookmark
i/I Insert before cursor/line (enters
+ + + F2 Clear Bookmarks insert mode)
F
w/W Move forward a Word/WORD
+ Replace Next Miscellaneous (WORDs are whitespace-
+
F6 Tobble Spell Check separated words)
E
+ F6 Next Misspelling b/B Move backwards a Word/WORD
+ Quick Find (searches for the word
+ under the cursor) + + F6 Previous Misspelling e/E Move to the end of a Word/WORD

G +B Build f, Find (character)

+ Quick Find All (selects all occurences character forward/backwards on the current
+ Space Show Completions
+ of the word under the cursor) /F, line
++T Special Characters character
G

+ Use Selection for Find r, Replace character under cursor


Vintage Mode character
E
. Repeat t/T till (forward/backward) Used in
+ Use Selection for Replace
d, count Delete motion (e.g. a word) or combination with motions like c or
+
E (optional), delete line or delete line to d. For example, d, t, { deletes

motion/dd/D end everything until the next { character


+ Find in Files (all open files)
(on the current line).
+ c , count Change motion or change
F (optional), until end of line (enters insert
motion / C mode)
F4 Next Result (file search results)
y , count Yank motion or yank (copy)
+ Previous Result (file search results)
(optional), Line
F4
motion / yy

Folding p/P Paste yanked/deleted text


after/before the cursor
++[ Fold (selection)
0/$ Move to the beginning/end of
++] Unfold a line
+ K, + J Unfold All

+ K, + 1 Fold All

+ K, + Fold Level 2-9


2-9

+ K, + T Fold Tag Attributes


(HTML/XML)

By martinprins Published 3rd January, 2014. Sponsored by Readability-Score.com


cheatography.com/martinprins/ Last updated 1st June, 2014. Measure your website readability!
Page 2 of 3. https://readability-score.com
Sublime Text 3 (OSX) Cheat Sheet
by martinprins via cheatography.com/16052/cs/1617/

Vintage Mode (cont)

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/@, Record/play macro


character

By martinprins Published 3rd January, 2014. Sponsored by Readability-Score.com


cheatography.com/martinprins/ Last updated 1st June, 2014. Measure your website readability!
Page 3 of 3. https://readability-score.com

You might also like