From 48e5fbfa7290f82ef6a6ae60b38d6713213dc273 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 13 Jun 2023 21:36:44 +0100 Subject: [PATCH] Fix remaps which broke because of delay-less sequences As noted in [https://github.com/k0kubun/xremap/issues/294](xremap#294) Wayland doesn't handle delay-less sequences properly. The workaround is to add a delay, this fixed remaps in text boxes in particular. --- macOS.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/macOS.yaml b/macOS.yaml index 6df7b93..c22f512 100644 --- a/macOS.yaml +++ b/macOS.yaml @@ -1,4 +1,7 @@ --- +# Wayland doesn't handle delay-less sequences properly, insert a delay. +keypress_delay_ms: 20 + keymap: - name: Terminal remaps application: @@ -36,8 +39,8 @@ keymap: # TODO: Move cursor one word left/right # Doesn't work for some reason - # Alt-Left: Ctrl-Left - # Alt-Right: Ctrl-Right + Alt-Left: Ctrl-Left + Alt-Right: Ctrl-Right - name: Firefox remaps application: