Centralise shortcut definitions
- Dominant language
- Rust
- Stars
- 30.5k
- Forks
- 3.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 60
Description
There are regularly reports like https://forums.ankiweb.net/t/2-1-49-hotkey-browser-mode/15254. In this particular case I remember suggesting several key sequences before coming up with a seemingly unconflicting one.
I wonder if it would be possible to define all of Anki's key sequences in one place, like `aqt/shortcuts.py`. That would facilitate testing for conflicts (with each other or OS shortcuts), make it easier to find available sequences and allow for documenting previous experiences (I have yet to find a useful online ressource for that).
It should be easy enough for shortcuts defined in PyQt, but is there a way to do that for the ones defined in TS as well? Designer shortcuts would have to be moved into Python, but that's not necessarily a bad thing in my opinion.
Contributor guide
Assessment
This issue has not been assessed yet.