Skip to content

Commit 2b999f5

Browse files
committed
Bring some of my QMK/ZMK keymap back to Macbook keeb.
1 parent 1707ecc commit 2b999f5

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

karabiner/karabiner.edn

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,35 @@
11
; Compiles to `~/.config/karabiner/karabiner.json with `goku` (or watch with `gokuw`)
22
{
33
:main [
4-
{:des "CAPS+hjkl as arrows (ESC if alone)" :rules [
5-
[:##caps_lock ["caps_as_modifier" 1] nil {:afterup ["caps_as_modifier" 0] :alone :escape}]
6-
[:##h :left_arrow ["caps_as_modifier" 1]]
7-
[:##j :down_arrow ["caps_as_modifier" 1]]
8-
[:##k :up_arrow ["caps_as_modifier" 1]]
9-
[:##l :right_arrow ["caps_as_modifier" 1]]
10-
[:##caps_lock :escape]
4+
{:des "CMD app launcher (CMD when held, F13 when tapped)" :rules [
5+
[:left_command :left_command nil {:alone :f13}]
6+
]}
7+
{:des "CAPS as CTRL (ESC when tapped)" :rules [
8+
[:caps_lock :left_control nil {:alone :escape}]
9+
]}
10+
{:des "TAB as OPT (TAB when tapped)" :rules [
11+
[:tab :left_option nil {:alone :tab}]
12+
]}
13+
{:des "Space cadet shifts (parens when tapped)" :rules [
14+
[:left_shift :left_shift nil {:alone :!S9}]
15+
[:right_shift :right_shift nil {:alone :!S0}]
16+
]}
17+
{:des "Space cadet shifts (squirlies when tapped w/ CMD)" :rules [
18+
[:!Cleft_shift :!Cleft_shift nil {:alone :!Sopen_bracket}]
19+
[:!Cright_shift :!Cright_shift nil {:alone :!Sclose_bracket}]
20+
]}
21+
{:des "CMD+hjkl as arrows (right CMD only)" :rules [
22+
[:##right_command ["right_command" 1] nil {:afterup ["right_command" 0] :alone :right_command}]
23+
[:##h :left_arrow ["right_command" 1]]
24+
[:##j :down_arrow ["right_command" 1]]
25+
[:##k :up_arrow ["right_command" 1]]
26+
[:##l :right_arrow ["right_command" 1]]
27+
[:##right_command :right_command]
1128
]}
1229
{:des "D+F as Hyper (CMD+OPT+CTRL)" :rules [
1330
[[:d :f] :!COleft_control]
1431
]}
15-
{:des "S+D+F as Big Hyper (CMD+OPT+CTRL)" :rules [
32+
{:des "S+D+F as Big Hyper (SHIFT+CMD+OPT+CTRL)" :rules [
1633
[[:s :d :f] :!SCOleft_control]
1734
]}
1835
]

0 commit comments

Comments
 (0)