summaryrefslogtreecommitdiffstats
path: root/.config/keyd/default.conf
diff options
context:
space:
mode:
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