Skip to content

Instantly share code, notes, and snippets.

@dstd
Created March 15, 2026 23:04
Show Gist options
  • Select an option

  • Save dstd/5f1b9f1c53d6c32253748fc9dac764c4 to your computer and use it in GitHub Desktop.

Select an option

Save dstd/5f1b9f1c53d6c32253748fc9dac764c4 to your computer and use it in GitHub Desktop.
keyd mapping configuration
[ids]
*
[main]
leftalt = timeout(overload(alt, C-A-M-1), 300, layer(alt))
rightalt = timeout(overload(alt, C-A-M-2), 300, layer(alt))
control = layer(control)
capslock = layer(caps)
[alt]
a = C-a
b = C-b
c = C-c
d = C-d
e = C-e
f = C-f
g = C-g
h = C-h
i = C-i
j = C-j
k = C-k
l = C-l
m = C-m
n = C-n
o = C-o
p = C-p
q = C-q
r = C-r
s = C-s
t = C-t
u = C-u
v = C-v
w = C-w
x = C-x
y = C-y
z = C-z
[ = back
] = forward
[alt+shift]
[ = C-S-tab
] = C-tab
[control]
a = A-a
b = A-b
c = A-c
d = A-d
e = A-e
f = A-f
g = A-g
h = A-h
i = A-i
j = A-j
k = A-k
l = A-l
m = A-m
n = A-n
o = A-o
p = A-p
q = A-q
r = A-r
s = A-s
t = A-t
u = A-u
v = A-v
w = A-w
x = A-x
y = A-y
z = A-z
[meta]
tab = C-tab
backspace = C-backspace
left = C-left
right = C-right
up = C-up
down = C-down
minus = –
[meta+shift]
tab = C-S-tab
minus = macro(A-0 S-2)
[caps]
up = pageup
down = pagedown
left = home
right = end
enter = insert
minus = kpminus
equal = kpplus
8 = kpasterisk
slash = kpslash
f1 = brigntnessdown
f2 = brightnessup
f7 = previoussong
f8 = playpause
f9 = nextsong
f10 = mute
f11 = volumedown
f12 = volumeup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment