From ac0b98157d79e69c0f1422cb6236c7f978428dec Mon Sep 17 00:00:00 2001 From: Sören Tempel Date: Sun, 23 May 2021 23:28:52 +0200 Subject: Enable w keybinding by default --- saneterm/keys.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/saneterm/keys.py b/saneterm/keys.py index 05ad05e..47058f6 100644 --- a/saneterm/keys.py +++ b/saneterm/keys.py @@ -19,9 +19,11 @@ class Bindings(): bind "u" { "kill-after-output" () }; bind "a" { "move-input-start" () }; bind "e" { "move-input-end" () }; - bind "h" { "backspace" () }; bind "j" { "insert-at-cursor" ("\\n") }; + bind "w" { "delete-from-cursor" (word-ends, -1) }; + bind "h" { "backspace" () }; + /* Since c is used for VINTR, unbind v */ unbind "v"; } -- cgit 1.4.1