Open VimWei opened 2 days ago
g-b
has better input bindings search with fuzzy finding and keyboard navigation. I wasn't sure whether to put the comments there too.
At the same time, I would like to be able to directly access a persistent Active Key Bindings page through a shortcut key. This would allow me ample time to further use features like filter to look up information.
Currently, I can only use the following definition in input.conf: ? script-binding stats/display-page-4
I wish there could be a definition similar to this: ? script-binding stats/display-page-4-toggle
The desired functionality is similar to how the uppercase 'I' key works in mpv, which toggles the persistent display of the stats page, as opposed to the lowercase 'i' key, which only shows the stats briefly.
g-b
has better input bindings search with fuzzy finding and keyboard navigation. I wasn't sure whether to put the comments there too.
Thanks! Though 'g-b' can solve some of the issues, its overall experience is not as user-friendly as Active Key Bindings.
stats.lua doesn't have page up and down bindings because we don't know how many lines fill one page as mpv doesn't use a real GUI library. The linked PR implements every other request.
Thank you!
I have tested the artifacts of the pull request, and it works perfectly.
It not only exceeded my initial expectations (by using up/down keys and maintaining consistency with the overall experience; it also added the ESC key for convenient exit), but the response speed is also incredibly fast.
Kudos to your excellent efforts!
Expected behavior of the wanted feature
Active Key Bindings's issue
Page 4 also binds / to search for input bindings by typing part of a binding or command.
from https://mpv.io/manual/stable/#statsCurrently, if the filter results are too numerous to fit on a single page, there's no mechanism to browse through the remaining results.
Improvement Suggestions:
Ctrl + Down Arrow
to move to the next page of results.Ctrl + Up Arrow
to move to the previous page of results.Then, we can filter this by "vim-like".
Alternative behavior of the wanted feature
No response
Log File
No response
Sample Files
No response