Toggle the TabSwitcher #10933
-
The TabSwitcher work differently than Is there a way to have the tab switcher act like So to be clear, i would want to hit a keybind, open the tab switcher, navigate it with the arrows or using |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
No, it's not possible at the moment. But I wonder why would you want to do that? Your desired implementation always requires more keystrokes for the same result. The file finder uses different approach because it has the search-by-text feature that requires keeping the window open. Unlike the tab switcher, it doesn't display all the options right away. Yet it also supports the quick selection mode — if you keep pressing BTW, you can use |
Beta Was this translation helpful? Give feedback.
-
Worth noting that you can get this behavior by just running the command I've been experimenting with using both the quick selection ( {
"bindings": {
"cmd-i": "tab_switcher::Toggle"
}
},
{
"context": "Editor && VimControl && !VimWaiting && !menu",
"bindings": {
"space i": "tab_switcher::Toggle"
}
},
{
"context": "TabSwitcher",
"bindings": {
"k": "menu::SelectPrev",
"j": "menu::SelectNext",
"l": "menu::Confirm",
"x": "tab_switcher::CloseSelectedItem",
"cmd-shift-i": "menu::SelectPrev",
"cmd-backspace": "tab_switcher::CloseSelectedItem"
}
}, |
Beta Was this translation helpful? Give feedback.
-
Interestingly, arrow keys don't work for me when opening |
Beta Was this translation helpful? Give feedback.
No, it's not possible at the moment.
But I wonder why would you want to do that? Your desired implementation always requires more keystrokes for the same result.
The file finder uses different approach because it has the search-by-text feature that requires keeping the window open. Unlike the tab switcher, it doesn't display all the options right away. Yet it also supports the quick selection mode — if you keep pressing
cmd-p
, it will switch to the selected file as soon as you releasecmd
.BTW, you can use
ctrl-k
/ctrl-j
and arrows to navigate items in the tab switcher, and confirm the selection withenter
. Just holdctrl
while you're doing it.