Skip to content

Instantly share code, notes, and snippets.

@joshkersey
Forked from bjhess/st_cheat.txt
Created June 26, 2012 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshkersey/2996798 to your computer and use it in GitHub Desktop.
Save joshkersey/2996798 to your computer and use it in GitHub Desktop.
Sublime Text Cheatsheet
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment