Pew Pew Laser Blog

Code. Glass art. Games. Baking. Cats. From Seattle, Washington and various sundry satellite locations.

Blogs about keyboard-shortcuts

OSX Screenshots.


In Windows, I use either the PrintScreen key or the Snip program for screenshots. But I can never remember the keyboard commands for screenshots in OSX, so here is a quick reference:

Both of the above methods will save the screenshot on your Desktop.

If I'm working in Firefox, I just use the built-in screenshot tools in Firefox too. (The files are saved in Downloads.)

The Mug of Sublime Text.


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 shortcuts too.

ST Logging Keyboard Commands.


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:

Windows 7 Keyboard Shortcuts.


Here are some of my favorite keyboard shortcuts for Windows 7:

Awesome Keyboard Shortcuts.


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:

When using Mac OS, substitute Command for Control.

More blogs about keyboard-shortcuts: