Just wondering how this could be done.
The only thought I have would be to make the command that the keybinding calls check for some effective flag in the project settings (using, eg, view.window().project_data()
) and use that as a gate for whether anything happens or not. This seems potentially problematic and clunky to me. Not being familiar with all that’s possible with contexts, projects and other window tricks potentially, I’m wondering if anyone has any better ideas?