Skip to content

Commit e975429

Browse files
committed
feat: display ignored bindings in keybinds menu
ref #901
1 parent 5f70143 commit e975429

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ Switch stream quality. This is just a basic re-assignment of `ytdl-format` mpv p
252252
253253
#### `keybinds`
254254
255-
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.
255+
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.
256256
257257
#### `open-file`
258258

src/uosc/lib/menus.lua

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

0 commit comments

Comments
 (0)