feat(shortcuts): add the autotag and track-list panel bindings
`data-shortcut-scope` was read by the shortcut service and set nowhere, so the two panel-scoped bindings were dead while Settings advertised them as configurable. These are the bindings the scope mechanism was built for: autotag's A/S/L/U/F and the arrows, and the track list's play.
This commit is contained in:
@@ -35,6 +35,19 @@ func DefaultBindings() map[string]string {
|
||||
// Panel-specific (track list)
|
||||
"tracklist.play": "Enter",
|
||||
"tracklist.delete": "Delete",
|
||||
|
||||
// Panel-specific (autotag review). These are the keys the
|
||||
// autotag page used to bind on its own document listener, which
|
||||
// fired from every other page and could not arbitrate with the
|
||||
// global bindings above. As panel bindings they apply only
|
||||
// while that page is the one on screen.
|
||||
"autotag.apply": "A",
|
||||
"autotag.skip": "S",
|
||||
"autotag.leave": "L",
|
||||
"autotag.paste": "U",
|
||||
"autotag.search": "F",
|
||||
"autotag.next": "Down",
|
||||
"autotag.previous": "Up",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user