summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-06-06 09:31:48 +0200
committerDave Davenport <qball@gmpclient.org>2016-06-06 09:31:48 +0200
commit0170aef0e62f000839686865508db6e18c831fab (patch)
treeedfbdc7ff2b54a499c721aabdac55dbdbbd94086
parent4a3e133e1cfe314f8d9d96628cc0a0a7c95bce77 (diff)
Add Control-Backspace as keybinding.
-rw-r--r--Changelog1
-rw-r--r--source/keyb.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 0e1077e6..8d40e06c 100644
--- a/Changelog
+++ b/Changelog
@@ -4,6 +4,7 @@ unreleased
- Stop cycling option (#407) (Thx to Yaroslav)
- Kill window on delete entry (#316)
Improvements
+ - Add Control+Backspace as remove word back keybinding.
- Allow user to use X11 background for fake transparency (#390)
- Allow user to specify background image.
- Improved keybinding handling, allowing on-release and modifier only (#384).
diff --git a/source/keyb.c b/source/keyb.c
index 5ef27029..f9ca0cc0 100644
--- a/source/keyb.c
+++ b/source/keyb.c
@@ -43,7 +43,7 @@ DefaultBinding bindings[NUM_ABE] =
{ .id = MOVE_WORD_FORWARD, .name = "kb-move-word-forward", .keybinding = "Alt+f", .comment = "Move forward one word" },
{ .id = MOVE_CHAR_BACK, .name = "kb-move-char-back", .keybinding = "Left,Control+b", .comment = "Move back one char" },
{ .id = MOVE_CHAR_FORWARD, .name = "kb-move-char-forward", .keybinding = "Right,Control+f", .comment = "Move forward one char" },
- { .id = REMOVE_WORD_BACK, .name = "kb-remove-word-back", .keybinding = "Control+Alt+h", .comment = "Delete previous word" },
+ { .id = REMOVE_WORD_BACK, .name = "kb-remove-word-back", .keybinding = "Control+Alt+h,Control+Backspace", .comment = "Delete previous word" },
{ .id = REMOVE_WORD_FORWARD, .name = "kb-remove-word-forward", .keybinding = "Control+Alt+d", .comment = "Delete next word" },
{ .id = REMOVE_CHAR_FORWARD, .name = "kb-remove-char-forward", .keybinding = "Delete,Control+d", .comment = "Delete next char" },
{ .id = REMOVE_CHAR_BACK, .name = "kb-remove-char-back", .keybinding = "BackSpace,Control+h", .comment = "Delete previous char" },