ControlEscape is a plugin, aka "Spoon", for HammerSpoon app for macOS. HammerSpoon[1] is a UI layer scripting tool for macOS. From the README, ControlEscape provides this superpower:
With that in mind, we can teach the control key to pull double duty:
– If control is pressed and released in isolation, we can interpret it as escape
– If control is held down and used in combination with another key, then we can let it provide the normal control key behavior
As someone who's an avid user of vim-style keybindings, this has been a spectacular addition to my workflow. I use it with the standard System Preferences rebinding of CapsLock as Control, which makes it even better. It obviously helps on TouchBar MacBooks, but honestly I find it's fantastic even on my favorite external keyboards.
[1] http://www.hammerspoon.org/ – I could write a bit about HammerSpoon itself. It promises to consolidate a number of smaller "UI utility" apps I've accumulated over the years.
1 comment
[ 0.19 ms ] story [ 10.3 ms ] threadWith that in mind, we can teach the control key to pull double duty:
– If control is pressed and released in isolation, we can interpret it as escape
– If control is held down and used in combination with another key, then we can let it provide the normal control key behavior
As someone who's an avid user of vim-style keybindings, this has been a spectacular addition to my workflow. I use it with the standard System Preferences rebinding of CapsLock as Control, which makes it even better. It obviously helps on TouchBar MacBooks, but honestly I find it's fantastic even on my favorite external keyboards.
[1] http://www.hammerspoon.org/ – I could write a bit about HammerSpoon itself. It promises to consolidate a number of smaller "UI utility" apps I've accumulated over the years.