Skip to content

Instantly share code, notes, and snippets.

@bjhess
Created January 11, 2012 21:39
Show Gist options
  • Save bjhess/1596897 to your computer and use it in GitHub Desktop.
Save bjhess/1596897 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
@kajomarton
Copy link

only for explanation: super key means win key on Windows

@getvega
Copy link

getvega commented May 1, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment