summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/keyd/default.conf47
1 files changed, 30 insertions, 17 deletions
diff --git a/.config/keyd/default.conf b/.config/keyd/default.conf
index 7e9750a..5ba4ce0 100644
--- a/.config/keyd/default.conf
+++ b/.config/keyd/default.conf
@@ -2,6 +2,7 @@
*
-046d:4079
+# Colemak-DH (matrix)
[main]
esc = overload(switch, capslock)
capslock = overload(extend, esc)
@@ -26,26 +27,38 @@ b = v
n = k
m = h
-[qwerty:layout]
+[qwerty]
esc = overload(switch, capslock)
capslock = overload(extend, esc)
+e = e
+r = r
+t = t
+y = y
+u = u
+i = i
+o = o
+p = p
+s = s
+d = d
+f = f
+h = h
+j = j
+k = k
+l = l
+; = ;
+v = v
+b = b
+n = n
+m = m
[shift]
-capslock = overload(extend-S, S-esc)
-meta = layer(M-S)
+capslock = overload(extend+shift, S-esc)
[meta]
esc = M-esc
-capslock = overload(extend-M, esc)
-shift = layer(M-S)
-
-[alt]
-capslock = overload(extend-A, esc)
+capslock = overload(extend+meta, esc)
[extend:C]
-shift = layer(extend-S)
-meta = layer(extend-M)
-alt = layer(extend-A)
j = left
k = down
l = up
@@ -64,7 +77,7 @@ v = C-v
8 = f8
9 = f9
-[extend-S:C-S]
+[extend+shift]
j = C-left
k = C-down
l = C-up
@@ -74,24 +87,24 @@ x = C-S-x
c = C-S-c
v = C-S-v
-[extend-M]
+[extend+meta]
j = M-left
k = M-down
l = M-up
; = M-right
-[M-S:M-S]
+[meta+shift]
j = M-S-left
k = M-S-down
l = M-S-up
; = M-S-right
-[extend-A]
+[extend+alt]
j = A-left
k = A-down
l = A-up
; = A-right
[switch]
-q = layout(qwerty)
-w = layout(main)
+q = toggle(qwerty)
+w = toggle(main)