Skip to content

Instantly share code, notes, and snippets.

@erikcox
Created August 2, 2013 03:35
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 erikcox/1bbe195ef87f004f4dfc to your computer and use it in GitHub Desktop.
Save erikcox/1bbe195ef87f004f4dfc to your computer and use it in GitHub Desktop.
Sublime Text notes
Ctrl+D to select next occurence of word.
Alt+F3 to select all occurences of a word.
R-Click & Shift for column select. Ctrl to add to selection.
Make selection, Ctrl+Shift+L (L for lines)
Ctrl+Shift+P for command bar. Type somethign like syntax or just javascript (it does fuzy searching)
Ctrl+P searches your file system (fuzzy search as well). Enter @ symbol on highlighted file to get Ctrl+R functionality (see)
Ctrl+R to browse symbols / method names / style sheets.
Ctrl+I is incremental search (what does this do?)
Ctrl+Shift+P and type snipper for the working files language snippets
You can create your own snippets.
Ctrl+Shift+/ multi-line comments. Ctrl+/ for single line comments.
Make a selection and type ", ', or ( to wrap the selection
Docblock: /**+Tab
Regex example: Ctrl+H/F, <h2>.+</h2> to select everything between and including the h2 tags
Ctrl+J joins lines into a single one
Linux use . for current dir, ex: open .
Use !! for last command
VIM notes:
ci' (change inner starting at single quote)
Selects the text inside the delimeters ('')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment