To get Hammerspoon configured for our purposes, let』s do the following: With a large following, and a ton of native and community-contributed recipes and scripts, there are a lot of possibilities for cool OS enhancements. Hammerspoon is a powerful tool that utilizes lua-scripting to power a wide range of automations, shortcuts, and widgets. Now that we have both applications installed and added to 「accessibility」 within System Preferences, we are ready to begin setting them up for usage. Enable Hammerspoon and Karabiner in your 『Accessibility』 options within System Preferences:Ĭlick the lock, and then click the 『+』 sign to add both applications to the list.It』s easy and will only take you a moment. Read the 『installation』 section of their Github page. To install Karabiner, a couple of additional steps are required (installation of cmake and Boost).Installation of both is pretty straightforward- move the. Download and install both Hammerspoon and Karabiner (links found above).Check it out here.īoth of these applications are free. Karabiner-Elements - a free, open source application that allows powerful, highly configurable configuration of keyboard shortcuts.Hammerspoon - a free, open source tool that uses lua-scripting to allow powerful automation of the OS.To begin customizing our keyboards, two primary applications are necessary: Steve Losh』s 「 A Modern Space Cadet」 I: The Tools Jason Rudolph』s 「 Keyboard」 repository on Github Note: much of what follows is heavily inspired-by and/or utilizes information, scripts, and files from two amazing sources: In addition to all of that, the setup is very easily configured. Capability to implement a ton of other miscellaneous tweaks and improvements limited only by your curiosity and imagination.Much easier use of the navigational arrow keys, a custom markdown mode, and app-specific keybindings.Far more useful 「caps lock」 and 「shift」 keys - particularly useful for latest generation Macbooks (much smarter binding of the 『escape』 key).Vim-like text movement, selection, insertion, and deletion - everywhere. Superb, easily activated keybindings allowing Vim-style text navigation globally - all from the home row.A 『hyper』 key to launch a configurable set of favorite applications.Integrated, powerful window management using simple home-row keybindings. Something in between elite mastery of Vim and the clunky-feeling, slow, finger-contorting editing experience that I had been used to.Īfter months of searching, testing, and playing with countless tools- I found what seemed like the perfect solution- a mostly easy-to-set-up configuration that checked all of the boxes. I also didn』t like the idea of learning Vim, but not being able to use it everywhere else I edited text: emails, on the web, in my calendar/GTD app, etc. I liked the idea, but learning Vim while already teaching myself to program was a daunting prospect. Their cursors cut through the code like katanas- mine felt like it had a ball and chain attached to it.Īfter setting out on this text-navigation quest and doing my research, one thing was clear: if I wanted move through text with blazing speed, and improve overall programming efficiency, Vim (Vi iMproved) was the way to go. Having struggled with clunky-feeling and inefficient text editing myself, I was determined to learn how they moved so effortlessly from word-to-word, line-to-line- selecting, deleting, duplicating, appending. While doing so, it didn』t take me long to notice that every instructor had one thing in common- they navigated through text like absolute wizards. One of my first tasks was working through some online classes on HTML/CSS. There were so many amazing things to explore- it was like there were 10,000 doors, and I wanted to know what was behind each and every one. I completely immersed myself in programming culture. Easily memorized, quick to implement- these solutions will change the way you compute- whether you』re a novice looking for an edge, or a power-user programmer- everyone can benefit from something here.Ī year ago, I began teaching myself how to program in earnest.
0 Comments
Leave a Reply. |