Sublime Forum

Side bar focus check

#1

I want to add some key bindings for comfortable work with files. I need more simple shortcuts when I am focused on the side bar.
I want something like that:

{  "keys": ["r"], "command": "side_bar_rename", "context":
	[{"key": "panel", "operand": "side_bar"}, {"key": "panel_has_focus"}]
},

But I can not find any way to detect if side_bar is focused.

0 Likes