-
-
Save raroni/b1338e8a4f3e236a2b57 to your computer and use it in GitHub Desktop.
Sublime talk notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sublime tricks | |
You probably know some of these tricks, but hopefully you don't know them all. | |
File navigation | |
* Quick open (cmd + t) | |
* Quick open with symbols | |
* Quick open peek | |
* Undo close (cmd + shift + t) | |
* Show current file | |
* Project switch | |
Editor stuff | |
* Multiple selection (SysTime.h example) | |
* Macro example | |
* Select this and x next words iteratively (cmd + d) | |
* Duplicate line (shift + cmd + d) | |
* Mark line and go to next (cmd + l) | |
* Jump by empty lines (alt + up/down) | |
* Jump back, even across files (ctrl + minus, ctrl + shift + minus) | |
* Comment stuff out (cmd + shift + 7) | |
* Reindent (ctrl + r) | |
* Select outer scope: args, body, file, etc (cmd + shift + space) | |
* Select all occurences of word, often better than search/replace (cmd + g) | |
Search | |
* Jump to symbol, alternative to folding (cmd + r) | |
* Search in file | |
* Back and forth (cmd + g, shift + cmd + g) | |
* Search and replace in file | |
* Search and replace in chunk of file (alt + s) | |
* Project wide search | |
Build | |
* Project files | |
* My setup: test and run | |
C/C++ | |
* Go to definition (cmd + alt + down) | |
* Open corresponding header/impl (cmd + alt + up) | |
* Compile error jump | |
Groups | |
* Open more groups (cmd + alt + [0-9]) | |
* Hide file browser | |
* Move files between groups | |
* Impl. not perfect but useful most of the times | |
* Full screen | |
Commands | |
* Command palette, browse features (cmd + shift + p) | |
* Command palette, free text (set syntax example) | |
* Example: go to key bindings | |
Packages | |
* Install via package control | |
* Git integration with command palette | |
* New file plugin (cmd + alt + n) | |
* Themes - very customizable | |
* Typescript realtime type checker | |
OSX Bonus | |
* Key repeat speed | |
* Maximize shortcut (ctrl + alt + cmd + f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks @stjernegard. I have looked at that but never tried it (I am afraid of plugins you know :P).