-
Notifications
You must be signed in to change notification settings - Fork 0
/
miryoku.kbd
75 lines (73 loc) · 4.45 KB
/
miryoku.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
;; This Miryoku configuration was created by converting from a kmonad's one (by manna-harbour) to kanata.
;; The source configuration is available on https://github.com/manna-harbour/miryoku_kmonad/blob/21fd0cf290b2556a3579a67f851a34230b2053bb/src/build/miryoku_kmonad.kbd.
(defcfg
process-unmapped-keys yes
block-unmapped-keys yes
log-layer-changes yes
)
(defsrc
2 3 4 5 6 8 9 0 - =
q w e r t i o p [ ]
caps a s d f k l ; ' ent
x c v , . /
)
(deflayer U_BASE
q w f p b j l u y '
(tap-hold-release 200 200 a met) (tap-hold-release 200 200 r alt) (tap-hold-release 200 200 s ctl) (tap-hold-release 200 200 t sft) g m (tap-hold-release 200 200 n sft) (tap-hold-release 200 200 e ctl) (tap-hold-release 200 200 i alt) (tap-hold-release 200 200 o met)
(tap-hold-release 200 200 z (layer-toggle U_BUTTON)) (tap-hold-release 200 200 x ralt) c d v k h , (tap-hold-release 200 200 . ralt) (tap-hold-release 200 200 / (layer-toggle U_BUTTON))
(tap-hold-release 200 200 esc (layer-toggle U_MEDIA)) (tap-hold-release 200 200 spc (layer-toggle U_NAV)) (tap-hold-release 200 200 tab (layer-toggle U_MOUSE)) (tap-hold-release 200 200 ent (layer-toggle U_SYM)) (tap-hold-release 200 200 bspc (layer-toggle U_NUM)) (tap-hold-release 200 200 del (layer-toggle U_FUN))
)
(deflayer U_EXTRA
q w e r t y u i o p
(tap-hold-release 200 200 a met) (tap-hold-release 200 200 s alt) (tap-hold-release 200 200 d ctl) (tap-hold-release 200 200 f sft) g h (tap-hold-release 200 200 j sft) (tap-hold-release 200 200 k ctl) (tap-hold-release 200 200 l alt) (tap-hold-release 200 200 ' met)
(tap-hold-release 200 200 z (layer-toggle U_BUTTON)) (tap-hold-release 200 200 x ralt) c v b n m , (tap-hold-release 200 200 . ralt) (tap-hold-release 200 200 / (layer-toggle U_BUTTON))
(tap-hold-release 200 200 esc (layer-toggle U_MEDIA)) (tap-hold-release 200 200 spc (layer-toggle U_NAV)) (tap-hold-release 200 200 tab (layer-toggle U_MOUSE)) (tap-hold-release 200 200 ent (layer-toggle U_SYM)) (tap-hold-release 200 200 bspc (layer-toggle U_NUM)) (tap-hold-release 200 200 del (layer-toggle U_FUN))
)
(deflayer U_TAP
q w f p b j l u y '
a r s t g m n e i o
z x c d v k h , . /
esc spc tab ent bspc del
)
(deflayer U_BUTTON
C-z S-del C-ins S-ins C-y C-y S-ins C-ins S-del C-z
met alt ctl sft XX XX sft ctl alt met
C-z S-del C-ins S-ins C-z C-z S-ins C-ins S-del C-z
mmid mlft mrgt mrgt mlft mmid
)
(deflayer U_NAV
XX (tap-dance 200 (XX (layer-switch U_TAP))) (tap-dance 200 (XX (layer-switch U_EXTRA))) (tap-dance 200 (XX (layer-switch U_BASE))) XX C-y S-ins C-ins S-del C-z
met alt ctl sft XX caps left down up right
XX ralt (tap-dance 200 (XX (layer-switch U_NUM))) (tap-dance 200 (XX (layer-switch U_NAV))) XX ins home pgdn pgup end
XX XX XX ent bspc del
)
(deflayer U_MOUSE
XX (tap-dance 200 (XX (layer-switch U_TAP))) (tap-dance 200 (XX (layer-switch U_EXTRA))) (tap-dance 200 (XX (layer-switch U_BASE))) XX C-y S-ins C-ins S-del C-z
met alt ctl sft XX XX (movemouse-left 5 1) (movemouse-down 5 1) (movemouse-up 5 1) (movemouse-right 5 1)
XX ralt (tap-dance 200 (XX (layer-switch U_SYM))) (tap-dance 200 (XX (layer-switch U_MOUSE))) XX XX XX XX XX XX
XX XX XX mrgt mlft mmid
)
(deflayer U_MEDIA
XX (tap-dance 200 (XX (layer-switch U_TAP))) (tap-dance 200 (XX (layer-switch U_EXTRA))) (tap-dance 200 (XX (layer-switch U_BASE))) XX XX XX XX XX XX
met alt ctl sft XX XX prev vold volu next
XX ralt (tap-dance 200 (XX (layer-switch U_FUN))) (tap-dance 200 (XX (layer-switch U_MEDIA))) XX XX XX XX XX XX
XX XX XX XX pp mute
)
(deflayer U_NUM
[ 7 8 9 ] XX (tap-dance 200 (XX (layer-switch U_BASE))) (tap-dance 200 (XX (layer-switch U_EXTRA))) (tap-dance 200 (XX (layer-switch U_TAP))) XX
; 4 5 6 = XX sft ctl alt met
` 1 2 3 \ XX (tap-dance 200 (XX (layer-switch U_NUM))) (tap-dance 200 (XX (layer-switch U_NAV))) ralt XX
. 0 - XX XX XX
)
(deflayer U_SYM
S-{ S-7 S-8 S-9 S-} XX (tap-dance 200 (XX (layer-switch U_BASE))) (tap-dance 200 (XX (layer-switch U_EXTRA))) (tap-dance 200 (XX (layer-switch U_TAP))) XX
S-scln S-4 S-5 S-6 S-eql XX sft ctl alt met
S-grv S-1 S-2 S-3 S-\ XX (tap-dance 200 (XX (layer-switch U_SYM))) (tap-dance 200 (XX (layer-switch U_MOUSE))) ralt XX
S-9 S-0 S-min XX XX XX
)
(deflayer U_FUN
f12 f7 f8 f9 102d XX (tap-dance 200 (XX (layer-switch U_BASE))) (tap-dance 200 (XX (layer-switch U_EXTRA))) (tap-dance 200 (XX (layer-switch U_TAP))) XX
f11 f4 f5 f6 slck XX sft ctl alt met
f10 f1 f2 f3 pause XX (tap-dance 200 (XX (layer-switch U_FUN))) (tap-dance 200 (XX (layer-switch U_MEDIA))) ralt XX
comp spc tab XX XX XX
)