Skip to content

Instantly share code, notes, and snippets.

@neilrenicker
Last active December 15, 2015 04:58
Show Gist options
  • Save neilrenicker/5205080 to your computer and use it in GitHub Desktop.
Save neilrenicker/5205080 to your computer and use it in GitHub Desktop.
My notes from the Sublime workflow course on Tuts+

Sublime Workflow

Notes from the Tuts+ workflow tutorial on Sublime Text 2.

Multiple Cursors

  • ⌘ + D when after selecting a word to get multiple cursors
  • ⌘ + CTRL + G to immediately select all matching words
  • ⌘ + SHIFT + L to get a cursor on a block of selected text
  • ⌘ + I for incremental search

The Command Palette

  • ⌘ + SHIFT + P
  • Replicates the entire menu bar
  • Also shows shortcuts
  • Try to use the mouse as little as possible!
  • There are only so many keyboard shortcuts you can remember - that's why a type to do feature like the command palette (or Alfred) is so great.

Instant File Changing

  • ⌘ + P (Go to anything: fuzzy search on folders, files, and file contents)

Symbols

  • ⌘ + R
  • or, just to the ⌘ + P and type an "@" symbol
  • Instantly jump to methods
  • Can be used in stylesheets to find class names
  • Edit classes / methods if you're not in the file: ⌘ + P, then type "a" to search for methods in the topmost result

Changing Key Bindings

  • Easily update key bindings preferences (make sure you edit the user preferences - not the default preferences - to avoid custom preferences being overwritten).

Package Control

  • Adding packages without package control: ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
  • Simply clone the packages from github into the package folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment