public
Last active

Sublime Text Cheatsheet

  • Download Gist
st_cheat.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Navigation:
 
cmd-p Goto Anything ('@' for functions, ':' for line number)
cmd-r Function finder
ctl-g Goto line number
cmd-sft-p Command palette
cmd-sft-f Find in Files
cmd-opt-r Toggle regex when finding
cmd-opt-# Columns
ctr-# Switch columns
ctr-sft-# Move to column
cmd-ctr-r Reveal in sidebar (requires keybinding)
 
Coding:
 
ctr-m jump to matching bracket
cmd-sft-space select scope (handy but conflicts with my Divvy)
ctr-sft-. erb tag* (requires keybinding)
cmd-ctr-a auto align*
cmd-sft-h goto documentation*
 
Text:
 
cmd-alt-f replace in file
cmd-l select current line
cmd-sft-d duplicate current line
cmd-sft-enter insert line before (after w/o sft)
cmd-ctr-g select all instances of selected word in file
cmd-d, repeat mutli-select word, progressively
cmd-shift-up move line up (also, down)
cmd-ctr-sft-f distraction-free editing
cmd-k, cmd-i create private gist*
cmd-j join lines
 
* requires package

if you are looking for the key-binding for "Reveal in Sidebar" add this to your "Key Bindings - User":

{ "keys": ["ctrl+super+r"], "command": "reveal_in_side_bar" }

only for explanation: super key means win key on Windows

Great list thanks. Just one addition on my side :
cmd-k, cmd-b toggle sidebar

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.