diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-05-23 23:28:52 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-05-23 23:28:52 +0200 |
commit | ac0b98157d79e69c0f1422cb6236c7f978428dec (patch) | |
tree | 88ce3311c2b33b1a3a4aad74306db1f47a881932 /saneterm | |
parent | f2928d927e77be6e02e3d052e751a2c5c2811852 (diff) |
Enable <ctrl>w keybinding by default
Diffstat (limited to 'saneterm')
-rw-r--r-- | saneterm/keys.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 "<ctrl>u" { "kill-after-output" () }; bind "<ctrl>a" { "move-input-start" () }; bind "<ctrl>e" { "move-input-end" () }; - bind "<ctrl>h" { "backspace" () }; bind "<ctrl>j" { "insert-at-cursor" ("\\n") }; + bind "<ctrl>w" { "delete-from-cursor" (word-ends, -1) }; + bind "<ctrl>h" { "backspace" () }; + /* Since <ctrl>c is used for VINTR, unbind <ctrl>v */ unbind "<ctrl>v"; } |