From a657f81145465df1d8a75bedb1b56a0e99d541e0 Mon Sep 17 00:00:00 2001 From: fice-t Date: Wed, 24 Aug 2016 23:52:54 -0600 Subject: [PATCH] Bind Control+g to kb-cancel (#452) Control+g is the Emacs/readline standard for abort, so it would be nice to have this by default. --- source/keyb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/keyb.c b/source/keyb.c index cc0c5524..0f52c909 100644 --- a/source/keyb.c +++ b/source/keyb.c @@ -68,7 +68,7 @@ DefaultBinding bindings[NUM_ABE] = { .id = SCREENSHOT, .name = "kb-screenshot", .keybinding = "Alt+Shift+S", .comment = "Take a screenshot of the rofi window" }, { .id = TOGGLE_CASE_SENSITIVITY, .name = "kb-toggle-case-sensitivity", .keybinding = "grave,dead_grave", .comment = "Toggle case sensitivity" }, { .id = TOGGLE_SORT, .name = "kb-toggle-sort", .keybinding = "Alt+grave", .comment = "Toggle sort" }, - { .id = CANCEL, .name = "kb-cancel", .keybinding = "Escape,Control+bracketleft", .comment = "Quit rofi" }, + { .id = CANCEL, .name = "kb-cancel", .keybinding = "Escape,Control+g,Control+bracketleft", .comment = "Quit rofi" }, { .id = CUSTOM_1, .name = "kb-custom-1", .keybinding = "Alt+1", .comment = "Custom keybinding 1" }, { .id = CUSTOM_2, .name = "kb-custom-2", .keybinding = "Alt+2", .comment = "Custom keybinding 2" }, { .id = CUSTOM_3, .name = "kb-custom-3", .keybinding = "Alt+3", .comment = "Custom keybinding 3" },