Cheatography
https://cheatography.com
Shortcuts for Sublime and some useful plugins. ⌘=Control ⇧=Shft ⌥=Alt
Notation
⌘ ctrl, ⇧ shift, ⌥ alt, ⌫ backslash |
Plain text: in command palette |
Palettes
⌘ ⇧ p |
|
Command Palette |
⌘ ⌥ p |
|
Switch project |
⌘ p |
|
Goto Anything |
⌘ g |
: |
Goto Line |
⌘ ; |
# |
Goto Fuzzy |
⌘ r |
@ |
Goto Symbols |
Allows nesting (e.g. file@class)
General
F11 |
Full Screen |
⇧ F11 |
Distraction Free |
⌘ ` |
Console |
⌘ k, ⌘ b |
Toggle sidebar |
⌘ b |
Build |
⌘ ⇧ b |
Build (run) |
view: |
View options |
Origami
→ |
Travel to pane |
⌘ → |
Create pane |
⇧ → |
Carry to pane |
⌘ ⇧ → |
Destroy pane |
⌥ → |
Clone to pane |
⌘ z |
Zoom |
⌘ ⇧ z |
Unzoom |
press ⌘ k first; any arrow
Tabs and Panes
⌘ n |
New tab |
⌘ ⇧ n |
New window |
⌥ # |
Select tab within pane |
⌘ # |
Select pane |
⌘ ⇧ # |
Move tab to pane |
⌥ ⇧ # |
Layouts |
|
|
Edit
⌘ / |
Comment |
⌘ ⇧ / |
Block Comment |
⌘ ]/[ |
Indent/unindent |
⌘ k u/l |
Upper/lower case |
⌘ t |
Transpose xy -> yx |
⌘ del/⌫ |
Delete next/prev word |
⌘k, ⌘k/⌫ |
Delete from cursor to end/start |
⌘ ⇧ v |
Paste with indenting |
⌘ space |
Autocomplete (open/next) |
⌘ m |
Go to matching bracket |
reindent |
Reindent file |
Multiple Carets
⌘ click |
Add caret |
Drag midclick up/down |
Add line to caret |
⌘ ⌥ ↑/↓ |
(same as above) |
⌥ F3 |
Select all ocurrences |
⌘ ⇧ l |
Spit selection |
⌘ f, ⌥ Enter |
Find term, select all |
Recall ⌘ d (and ⌘ k, ⌘ d).
Allows multi copy/paste
Line Edit
⌘ ⇧ ↑/↓ |
Move line up/down |
⌘ enter |
Insert line after |
⌘ ⇧ enter |
Insert line before |
⌘ x |
Cut line |
⌘ ⇧ d |
Duplicate line |
⌘ ⇧ k |
Delete line |
⌘ j |
Join lines |
Find / Replace
⌘ f/h |
|
Find/replace |
⌘ ⇧ f |
|
Find in files |
|
⌥ r |
Toggle Regex |
|
⌥ c |
Toggle Case |
|
⌥ w |
Toggle Wrap word |
Block folding
⌘ ⇧ [/] |
Fold/Unfold |
⌘ k, ⌘ j |
Unfold all |
|
|
Expand selection to ...
⌘ d |
Word (repeat to add next) |
⌘ k, ⌘ d |
Add word skipping last selected |
⌘ l |
Line |
⌘ j |
Indentation level |
⌘ ⇧ m |
Brackets |
⌘ ⇧ space |
Scope |
⌘ a |
All |
⌘ ' |
Quoted area* |
⌘ ', ⌘ ' |
Quoted area and quotes* |
Requires Select Quoted package
Custom StataEditor
⌘ b |
Build (do) |
⌘ ⇧ b |
Build (run) |
⌘ space |
Autocomplete datasets* |
⌘ ⇧ space |
Autocomplete varnames* |
F1 |
Help in Sublime |
⇧ F1 |
Help in Stata |
⌘ ⇧ u |
Use selected |
⌘ p, snip |
See user snippets |
stata auto |
Rebuild autocomplete |
Requires filled-in "autocomplete" snippet
AdvancedNewFile
⌘ ⌥ n |
Named new file |
anf |
Delete, rename, copy |
SideBarEnhancements
F12 |
Open file externally |
Right click |
Misc; only works on projects |
Misc Packages
F5 |
Open terminal at file (custom) |
F6 |
SpellChecking |
|
Created By
Metadata
Favourited By
Comments
jan 15:33 28 Sep 15
This does NOT look like a WINDOWS cheat sheet to me...
;)
Add a Comment
Related Cheat Sheets