Sublime Text has many powerful keyboard shortcuts, but they can be tricky to remember. So I created The Mug of Sublime Text - an online reference of the coolest and most delightful keyboard shortcuts for Sublime Text. I've tested each shortcut on Windows 7, and provided OSX alternatives when they differed. If anyone finds that alternative commands are needed for Unix, pull requests are welcome!
The Mug of Sublime Text is a loving tribute to Mug of VI. I used VI for a while 8 years ago, and I still have one of these coffee mugs with VI's keyboard shortcuts printed on it. If you still love VI (or just want to dip your toes in the waters of VI), ST has a mode for that.
I tried to document only shortcuts that are part of ST's default installation, but some keymap customizations are too awesome to be ignored. I've also provided my customized keymap files in the repo so you can use them. I didn't include keyboard commands that are fairly standard to the operating system; such as Ctrl Shift t to re-open the most recently closed tab.
This reference is tilted towards my own front-end web developer workflow, so of course I've included some of the best Emmet.io shortcuts too.
Here's a hot trick for Sublime Text: do a Ctrl ` to open up Sublime's console, then put sublime.log_commands(True) into the console and hit Enter. Now your console (probably at the bottom of Sublime) will report what functions occurred for your keyboard and mouse actions. This is useful for a couple of reasons:
Identifying keyboard shortcut conflicts. Does Ctrl k t fold away tag attributes, or does it change the selected characters to TitleCase?
I love a good keyboard shortcut - it always slows me down when I have to move away from the keyboard to use the mouse. Apropos, here are some great keyboard commands to note:
In Dreamweaver:Control + J to collapse the first parent block of code that contains the cursor.
In Firefox (also Outlook, IE, and many other applications with auto-suggest functionality):Shift + Delete (while highlighting an automatically suggested text block) to delete that suggestion from the application and prevent it from appearing again.
Remote Desktop Connection for Windows:Control + Alt + Break to toggle between full screen and windowed mode.
When using Mac OS, substitute Command for Control.
I love keyboard commands - they let me work much faster. Sometimes, it irritates me when I have to switch over the the "slow boat" mouse for my human computer interactions. Apropos, I present this most useful keyboard command for Firefox.
Shift-Control-T (or Shift-Command-T for you Mac users):
It re-opens the last tab that you closed in the browser. I use this all the time. (You all know that Control-T will open a new blank tab in Firefox, don't you? I knew that you did.)