Skip to content

Extend search to include command arguments and property values? #12

@TheJYU

Description

@TheJYU

The readme mentions that the script currently searches commands and properties only by name. I was wondering if this limitation was intentional.

In my branch, I’ve extended the search to also include command arguments and property values. I’ve found this quite useful, and so far I haven’t noticed any downsides. Would you be open to a PR that adds this functionality?


By the way, thank you for this script. It’s been incredibly helpful for understanding how mpv works and for debugging scripts. After trying several similar ones, yours is the only one that truly checked all the boxes for me:

  • Search across keybinds, commands, options, and properties
  • Display both names and values in search results
  • Cycle through previous searches
  • Horizontal scroll to view long values
  • Indicate overridden keybinds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions