When I hit tab in the omnibox it just enters a tab char, how do I make it cycle through the results? (w7 - subl 2.0.1)
Cycle Goto Anything entries with tab
yoyoyoyo
#3
I’d love to know if this is possible. If not is anyone aware of available API’s for building a plugin? I’d be happy to do it.
0 Likes
addons_zz
#4
You could try just write a keybind which detects the go to panel and then when tab is pressed, it sends a Arrow Down key, instead of the Tab key.
However, there is not much distinctions between the Goto Anything overlay and the other overlays as the Command Palette, then, this Tab key custom behavior will also affect the Command Palette too.
1 Like
yoyoyoyo
#9
It worked! Here’s what I came up with
{
"keys": ["tab"],
"command": "move",
"args": {"by": "lines", "forward": true},
"context":
[
{ "key": "overlay_visible", "operator": "equal", "operand": true }
]
},
{
"keys": ["shift+tab"],
"command": "move",
"args": {"by": "lines", "forward": false},
"context":
[
{ "key": "overlay_visible", "operator": "equal", "operand": true }
]
}
Thanks so much @addons_zz!
1 Like
