summaryrefslogtreecommitdiffstats
path: root/.config/keyd/default.conf
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-15 16:14:22 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-15 18:56:26 +0200
commitcd15a1e143f053632901c084675dffa92f5d5bce (patch)
tree0baeefa5efaa7d81feabe403fec12e66bab227db /.config/keyd/default.conf
parent48b8993dacd948ce3f1426c35039c3ec38ae21e3 (diff)
downloaddotfiles-cd15a1e143f053632901c084675dffa92f5d5bce.tar.gz
dotfiles-cd15a1e143f053632901c084675dffa92f5d5bce.zip
misc: bind capslock → esc/ctrl, leftctrl → compose, and more
Diffstat (limited to '.config/keyd/default.conf')
-rw-r--r--.config/keyd/default.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/keyd/default.conf b/.config/keyd/default.conf
new file mode 100644
index 0000000..3c841d9
--- /dev/null
+++ b/.config/keyd/default.conf
@@ -0,0 +1,21 @@
+# Apply config to all keyboards
+[ids]
+*
+
+# Tap CapsLock for Escape, hold it for Control.
+#
+# Right control is mapped to the compose key:
+# - leftcontrol is bound to emit altgr (rightalt)
+# - rightalt is bound to the compose key (in KDE shortcuts)
+# This works well since I don't use altgr/rightalt
+[main]
+capslock = overload(control, esc)
+leftcontrol = layer(altgr)
+
+# CTRL+M Enter
+# CTRL+; Delete
+# CTRL+H Backspace
+[control]
+m = enter
+; = delete
+h = backspace