From cd15a1e143f053632901c084675dffa92f5d5bce Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Mon, 15 Jun 2026 16:14:22 +0200 Subject: misc: bind capslock → esc/ctrl, leftctrl → compose, and more MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/keyd/default.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .config/keyd/default.conf (limited to '.config/keyd') 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 -- cgit v1.3.1