blob: 75bed26a9feeab87146ed2d4d021e49c6de6ba45 (
plain)
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
#| --------------------------------------------------------------------------
(deflayer name
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _
_ _ _
)
-------------------------------------------------------------------------- |#
(defcfg
process-unmapped-keys yes
linux-dev-names-include (
"AT Translated Set 2 keyboard"
"TPPS/2 Elan TrackPoint"
)
)
(defalias
nav (layer-while-held navigation)
num (one-shot-press-pcancel 1500 (layer-while-held numbers))
sym (one-shot-press-pcancel 1500 (layer-while-held symbols))
qwe (layer-switch qwerty)
cdh (layer-switch colemakdh)
oss (one-shot-press 500 lsft) ;; one shot shift
sfd (tap-dance 200 (@oss (caps-word 2000) caps)) ;; shift dance
hrt (tap-hold-release 200 200 t lmet)
hrn (tap-hold-release 200 200 n lmet)
hrs (tap-hold-release 200 200 s lctl)
hre (tap-hold-release 200 200 e lctl)
hrr (tap-hold-release 200 200 r lalt)
hri (tap-hold-release 200 200 i lalt)
hra (tap-hold-release 200 200 a @nav)
meq (tap-hold-release 200 200 = lmet)
mco (tap-hold-release 200 200 , lctl)
pop (tap-hold-release 200 200 S-9 lctl)
pcl (tap-hold-release 200 200 S-0 lsft)
cop (tap-hold-release 200 200 S-[ lalt)
mau (movemouse-accel-up 5 1000 1 5)
mal (movemouse-accel-left 5 1000 1 5)
mad (movemouse-accel-down 5 1000 1 5)
mar (movemouse-accel-right 5 1000 1 5)
mwu (mwheel-up 1 1)
mwl (mwheel-left 1 1)
mwd (mwheel-down 1 1)
mwr (mwheel-right 1 1)
mou (layer-while-held mouse)
mid (tap-hold-press 200 200 mrgt @mou)
chl (chord midchord a)
chr (chord midchord b)
)
(defchords midchord 50
(a ) mlft
( b) @mid
(a b) mmid
)
(defsrc
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 home end ins del
grv 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
wkup lctl lmet lalt spc ralt sys rctl pgup up pgdn
mlft mmid mrgt left down rght
)
(deflayer colemakdh
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 home end ins del
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w f p b j l u y ; [ ] \
esc @hra @hrr @hrs @hrt g m @hrn @hre @hri o ' ret
@sfd x c d v z k h ' @sym bspc @sfd
wkup lctl lmet lalt spc @num sys @qwe pgdn up pgup
@chl @chr @num left down rght
)
(deflayer navigation
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ [ ] _ _ _ del pgdn pgup _ _ _ _
_ _ @cop @pop @pcl _ _ left down up rght _ _
_ _ _ S-] _ _ _ home end _ _ _
_ _ _ _ _ _ _ _ _ _ _
_ _ ret _ _ _
)
(deflayer numbers
lrld _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ 4 5 6 S-\ _ S-8 S-, S-. _ _ _ _
_ tab 1 2 3 S-6 _ @meq @mco . / _ _
_ 7 8 9 S-` _ _ - S-- S-+ _ _
_ _ _ _ _ _ _ _ _ _ _
0 _ _ _ _ _
)
(deflayer symbols
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ S-2 S-3 S-4 S-5 _ _ _ _ _ _ _ _
_ ` S-1 S-/ S-; S-7 _ _ _ _ _ _ _
_ \ ; S-' S-\ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _
0 _ _ _ _ _
)
(deflayer mouse
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ @mwl @mwd @mwu @mwr _ _ _
_ _ mlft mmid mrgt _ _ @mal @mad @mau @mar _ _
_ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
)
(deflayer qwerty
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 home end ins del
grv 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
wkup lctl lmet lalt spc ralt sys @cdh pgup up pgdn
mlft mmid mrgt left down rght
)
|