Sublime Forum

Can't navigate in the sidebar with arrows

#1

Hello, I’m using sublime text 3 and i’m facing an issue with the sidebar. In ST2 I used ctrl+0 to focus on the sidebar then i used the arrows to navigate but it don’t seems to work now.

I tried to change my .config/Default (Linux).keymap file earlier to add ctrp+click feature but I still have the ctrl+0 shortcut write in the preferences-key Binding default file so i didn’t find what goes wrong

I tried to uninstall and re-install ST3 without effect

thanks

0 Likes

#2

You can’t add click behavior to your key bindings file; it has to be a mousmap.

Please paste your key bindings file here so we can have a look.

0 Likes

#3

Thanks for answering, here is the part of my key binding file with the focus bar shortcut which does not work i can’t paste all my default key binding here

{ "keys": ["ctrl+shift+1"], "command": "move_to_group", "args": { "group": 0 } },
{ "keys": ["ctrl+shift+2"], "command": "move_to_group", "args": { "group": 1 } },
{ "keys": ["ctrl+shift+3"], "command": "move_to_group", "args": { "group": 2 } },
{ "keys": ["ctrl+shift+4"], "command": "move_to_group", "args": { "group": 3 } },
{ "keys": ["ctrl+shift+5"], "command": "move_to_group", "args": { "group": 4 } },
{ "keys": ["ctrl+shift+6"], "command": "move_to_group", "args": { "group": 5 } },
{ "keys": ["ctrl+shift+7"], "command": "move_to_group", "args": { "group": 6 } },
{ "keys": ["ctrl+shift+8"], "command": "move_to_group", "args": { "group": 7 } },
{ "keys": ["ctrl+shift+9"], "command": "move_to_group", "args": { "group": 8 } },
{ "keys": ["ctrl+0"], "command": "focus_side_bar" },

but I haven’t changed anything in this file and my Key-Bindings User file is empty

0 Likes

#4

I thought you specifically added that binding to the user key-bindings file. Anyway, now the most likely thing is that a package is overriding the default ctrl+0 binding, thus preventing the focus_side_bar command from executing.

Enter sublime.log_commands(True) in the ST console (View -> Console), press ctrl+0 and paste the console output here.

0 Likes

#6

In fact it seems that my keyboard dont have the right settings, I use a french keyboard and that’s might explain the problem and why i didn’t have it before (I used an us one since this week)

here are the ouptut :slightly_smiling:
drag_select {“event”: {“button”: 1, “x”: 559.5, “y”: 948.5}}
Edit: In fact in just notice that this event do not correspond to ctrl+0 and sublime text don’t seems to receive anything with those combination :sweat:

when i switch to us keyboard everything work perfectly so it confirm that this is the explanation
Thanks a lot FichteFoll :relieved:

0 Likes