![]() ![]() Hit me up on Twitter for queries or comments. I plan on making a youtube video at some point demoing all this but until that happens, hope this blog post is helpful. I spent a lot of time commenting my edn file with the hope of making it more readable, so hope that helps. Read the blog post from step 1 again, given you’re a little more familiar with the format. ![]() Follow along then with the official tutorial as they explain the basics.Read this fantastic blog post by Nikita Voloboev once.I’m not going to explain how to use Goku, but I’ll tell you what helped me pick it up: I gave a quick look at some of the examples and almost abandoned my Goku effort half way.īut after spending an 11 hour flight back home fiddling and learning how to use Goku, I’ve gotten a decent hang of the format and I admit it’s super mantainable. Speaking as a programmer the edn format is quite possibly the most terse, terrible format I’ve encountered. my karabiner.edn file on the other hand has 140 lines (and most of it is liberal commenting and whitespace to combat edn’s terseness).my karabiner.json file currently has about 920 lines.Goku then reads that edn format and generates the karabiner.json file for you. You write the code in this special format called “extensible data notation” (edn). ![]() Goku basically is a DSL where you can write a nice and condensed form of the same code you would otherwise wrangle up in your karabiner.json. So on an exaseperated whim, I went searching for a way to make it easier to deal with Karabiner and found the wonderful Goku. Let’s just say json is not the most maintainable format for this kind of stuff.Īfter meddling with Karabiner for a few days, it was clearly getting unwieldy to maintain the json file. See the problem with Karabiner is that if you want to start doing the tricks I mention above, you pretty much have to start meddling directly with this file called karabiner.json. How do I do this?īefore you head to the races and start using Karabiner though there’s one caveat: This kind of usage in conjunction with Keyboard Maestro basically unleashes the power of your Mac. Hold "s" + tap g -> google for something on the web Instead of moving my fingers all the way to the bottom right of my keyboard and aiming for the arrow keys what if I could just keep my fingers on my home row and navigate like so: While they don’t come with dedicated arrow keys you can emulate navigation in a pretty slick way (especiallly for us vim users). Where Karabiner will truly shine is when you want to do slightly more complex things: for example, take the case of navigation with 60% keyboards. You can do this pretty easily with Karabiner but it barely scratches the surface of Karabiner’s true power. So if I tap the Caps Lock key, it instead emulates hitting the Escape key. Karabiner intercepts every keystroke and allows you to send alternative signals.įor example, a common mod that a lot of programmers like to do is remap their Caps Lock key -> Escape. The easiest way I’ve found on the Mac to do this is using Karabiner. I liked these mods so much that I wanted to find a way to use these mods with any keyboard I use. I added a bunch of mods for the keyboard using the mechanical keyboard’s included software configurator. Given these constraints, you have to get a little creative with how you use a keyboard. ![]()
0 Comments
Leave a Reply. |