Enter "Super-Duper" mode with a single keystroke
danielinfuse opened this issue · 1 comments
Is it possible to enter the Super Duper mode with just a single "s" or "d" keystroke? It will be helpful because Mac keyboard cannot do N-key rollover (only 6 I believe). Also I find it pretty tiring to hold 2 fingers (ring and middle fingers) to enter the mode.
I'm looking at the super.lua file right now but since I don't know lua, I have not been able to modify it.
👋 Hi @danielinfuse: If you fork the repository and change the code, then you could customize it to enter (S)uper (D)uper Mode with a single keystroke. You'll likely need to try your hands at a bit of Lua to make it work, but it should be do-able.
To get started, you could look at the code for Markdown Mode, which is triggered with a single keystroke (control + m) here:
keyboard/hammerspoon/markdown.lua
Lines 106 to 112 in 3bee475
You could use a similar approach to change super.lua
to trigger (S)uper (D)uper Mode with a single keystroke. It will be a bit of work, but it's do-able if you put your mind to it. 😅
Since I personally prefer using the s + d keys to trigger (S)uper (D)uper Mode, it's unlikely that I'll change this functionality, but I hope the pointer above is helpful.