When pressing ctrl+alt+p
a (quick?) input panel is open, allowing me to switch to another project.
I would like to be able to press ctrl+alt+p
again and automatically switch to the previously opened project. As such I was looking for a way to intercept that specific “open_project” input panel context, but apparently it seems it’s a just normal quick input panel with no identifier. The best I could come up with is this, but it’s too generic:
{ "keys": ["ctrl+alt+p"], "command": "switch_to_previous_project", "context":
[
{ "key": "overlay_visible", "operator": "equal", "operand": true },
{ "key": "panel_has_focus", "operator": "equal", "operand": false },
]
}
Another idea I had in mind was to override the original command class / cmd (that is "project_manager", args={"action": "open_project"}
) and attach an identifier to its settings, but I was wondering if perhaps there is an easier way.
Thanks in advance.