Skip to content

Commit 6876557

Browse files
committed
Update readme
1 parent e9cedaa commit 6876557

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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/)

0 commit comments

Comments
 (0)