mpv-search-page icon indicating copy to clipboard operation
mpv-search-page copied to clipboard

Implement Custom Keybindings

Open CogentRedTester opened this issue 4 years ago • 0 comments
trafficstars

This system replaces the jumplist and allows users to set custom keybinds for the different pages. These keybinds send standard input commands, but users can use special string codes which the script will substitute for information about the currently selected item.

This will be most useful for the option and property pages, but the current jumplist commands for keys and commands will still be supported by the new system.

  • [X] File IO and JSON parsing
  • [X] Keybind declaration on page open
  • [X] Keybind page codes
  • [X] Command page codes
  • [X] Option page codes
  • [X] Property page codes
  • [X] Support mp.command style commands for the keybinds page
  • [X] Support argument parsing for cmd page
  • [X] Flag to temporarily hide the page
  • [X] Flag to close the page
  • [X] Custom parsing for option choice output (supports cycle-values)
  • [X] Filtering options by option type
  • [X] Filtering keybinds by whether they are overwritten
  • [ ] Provide example/default config file
  • [ ] Add documentation to the README
  • [ ] Add new custom_keybinds option to example config
  • [ ] Remove all mention of the jumplist from README

CogentRedTester avatar Dec 29 '20 09:12 CogentRedTester