-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkanata.kbd
48 lines (41 loc) · 1.73 KB
/
kanata.kbd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
(deflocalkeys-winiov2
` 192
\ 226
)
(defsrc
` 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ]
caps a s d f g h j k l ; ' ret
lsft \ z x c v b n m , . / rsft
lctl lmet lalt spc ralt rmet rctl
)
(defalias
;; toggle layer aliases
arr (layer-while-held arrows)
amm (multi alt (layer-while-held alted-with-exceptions))
;; tap-hold keys with letters for tap and layer change for hold
far (tap-hold-release 200 200 f12 @arr)
anm (tap-hold-release 200 200 \ @amm)
btk (unicode `)
)
(deflayer qwerty
esc 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ]
@far a s d f g h j k l ; ' ret
lsft @anm z x c v b n m , . / rsft
lctl lmet lalt spc ralt rmet rctl
)
(deflayer arrows
_ f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 lrld
_ _ _ _ _ _ C-bspc bspc del home end _ caps
_ _ lctl lsft _ _ left down up rght @btk _ _
_ _ _ _ _ S-ins _ _ ret pgup pgdn _ _
_ _ _ _ _ _ _
)
(deflayer alted-with-exceptions
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ S-tab A-tab _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
)