Skip to content

Instantly share code, notes, and snippets.

@douglasmiranda
Forked from bjhess/st_cheat.txt
Created April 25, 2012 02:48
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 douglasmiranda/2485786 to your computer and use it in GitHub Desktop.
Save douglasmiranda/2485786 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
alt-sft column select
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
@gilsondev
Copy link

alt-sft - column select

@douglasmiranda
Copy link
Author

legal, este eu não conhecia :)

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