summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-05 06:54:19 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-05 06:54:19 +0300
commitbb1b42eaf7ecb6cd9ea4c531c28513839f443a07 (patch)
tree4851c7847e812aa1857afe4967ff564a85976966 /src/ui
parentc6dc3326596483a15b4dc9befcb8241b41017eff (diff)
Added keybinding for closing other tabs
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/keys.c1
1 files changed, 1 insertions, 0 deletions
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_[] =
222#endif 222#endif
223 { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new" }, 0 }, 223 { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new" }, 0 },
224 { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, 224 { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 },
225 { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_PRIMARY | KMOD_SHIFT, "tabs.close toleft:1 toright:1" }, 0 },
225 { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, 226 { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 },
226 { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, 227 { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 },
227 { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, 228 { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 },