From bb1b42eaf7ecb6cd9ea4c531c28513839f443a07 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 5 May 2021 06:54:19 +0300 Subject: Added keybinding for closing other tabs --- src/ui/keys.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui') diff --git a/src/ui/keys.c b/src/ui/keys.c index 5fd8d2eb..42d0d613 100644 --- a/src/ui/keys.c +++ b/src/ui/keys.c @@ -222,6 +222,7 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = #endif { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new" }, 0 }, { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, + { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_PRIMARY | KMOD_SHIFT, "tabs.close toleft:1 toright:1" }, 0 }, { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, -- cgit v1.2.3