File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ # Hyper
2+
3+ A "hyper" style modal spoon. I use karabiner-elements.app on my laptop and QMK
4+ on my mech keyboards to bind a single key to ` F19 ` , which fires all this
5+ Hammerspoon-powered OSX automation.
6+
7+ I chiefly use it to launch applications quickly from a single press, although I
8+ also use it to create "universal" local bindings inspired by [ Shawn Blanc's
9+ OopsieThings] ( https://thesweetsetup.com/oopsiethings-applescript-for-things-on-mac/ ) .
10+
11+ ``` lua
12+ Config = {
13+ applications = {
14+ [' com.culturedcode.ThingsMac' ] = {
15+ bundleID = ' com.culturedcode.ThingsMac' ,
16+ hyperKey = ' t' ,
17+ localBindings = {' ,' , ' .' },
18+ }
19+ }
20+ }
21+
22+ hs .loadSpoon (' Hyper' )
23+ Hyper = spoon .Hyper
24+ :start (Config )
25+ :setHyperKey (' F19' )
26+
27+ Hyper :bind ({}, ' return' , nil , autolayout .autoLayout )
28+ ```
29+
30+ [ Original Blog Post] ( http://evantravers.com/articles/2020/06/08/hammerspoon-a-better-better-hyper-key/ )
You can’t perform that action at this time.
0 commit comments