February 08, 2016
Brett Terpstra (a power user hero) wrote about this back in 2012, and here I am documenting my version of it (and the apps have since been renamed).
The capslock key is somewhat useless yet it takes up so much space on the keyboard. Power users (like me, ha) also have a lot of keyboard shortcuts defined and you don’t want to accidentally overwrite existing shortcut keys, so, I’ve remapped my caps lock key to be ⌃⌥⇧⌘ (that’s control, alt, shift, command) all in one go.
Then I use Alfred App to create custom commands to launch apps and run scripts based on hotkeys.
Firstly, un-map you caps-lock key from being a caps-lock key.
Secondly, download and install Seil. Install and set caps lock key to keycode 80, which is F19.
Finally, download and install Karabiner. Go to “Misc & Uninstall” and choose “open private.xml”. Replace the code with…
That’s it, you’re now free to create a whole load of shortcuts without risk of overwriting anything. In the Brett Terpstra article he has the key be an escape key on short press and super duper key on long press. I took the escape bit out as I didn’t want that.
I’m Tom de Bruin and I make websites and I ride bikes. I’m a software engineer. You could follow me @deadlyhifi.