feat: display ignored bindings in keybinds menu

ref #901
This commit is contained in:
tomasklaen
2024-08-28 18:30:19 +02:00
parent 5f701436d1
commit e975429086
2 changed files with 2 additions and 2 deletions

View File

@@ -252,7 +252,7 @@ Switch stream quality. This is just a basic re-assignment of `ytdl-format` mpv p
#### `keybinds`
Displays a command palette menu with all key bindings defined in your `input.conf` file. Useful to check what command is bound to what shortcut, or the other way around.
Displays a command palette menu with all currently active keybindings (defined in your `input.conf` file, or registered by scripts). Useful to check what command is bound to what shortcut, or the other way around.
#### `open-file`

View File

@@ -572,7 +572,7 @@ function get_keybinds_items()
-- Convert to menu items
for _, bind in pairs(binds_dump) do
local id = bind.key .. '<>' .. bind.cmd
if not ids[id] and bind.cmd ~= 'ignore' then
if not ids[id] then
ids[id] = true
items[#items + 1] = {title = bind.cmd, hint = bind.key, value = bind.cmd}
end