Sublime Text: More Shortcuts

May 5, 2014 | Category: Tools | Leave a Comment

I’ve not used too many code editors since 2006 when I first tinkered with html; NoteTab Light, FrontPage, Dreamweaver and Coda before switching to¬†Sublime Text at the suggestion of my coworker. I was immediately struck at the sheer customisability it offers with package control; from installing a CSS¬†prepocessor, to WordPress function autocomplete, to ftp on save. Sublime FTP and its monitor file option (upload file on external save through preprocessor is awesome) is one of my favourite web tools. However, what I find most useful about Sublime Text is its shortcuts. They’re incredibly useful for workflow speed, and if you use Sublime you should be using them.

Ctrl/Cmd + P: search and switch to a file within your current project
Ctrl/Cmd + Alt + P: switch project
Ctrl/Cmd + Shift + P: launch Package Control
Ctrl/Cmd + Shift + F: search entire folders
Ctrl/Cmd + D: multiple select. If you highlight a word, then use this shortcut, Sublime will find the next instance of that word in your current file and also highlight. Handy for changing a word (class name, for example) without a mass find and replace
Ctrl/Cmd + click: multiple cursors. Handy for entering the same content in several places at once

Not too many shortcuts there, I know, but these (especially the first two) make such an impact, especially if your stylesheet is split into component files.