This would add some interoperability with features of bubbles/list and others that use this already, and makes setting up keybinds much more consistent. It shouldn't take too long, and would help address the PR for #61.
The main move would be creating three keybind keymaps, one for List View, one for Filter View (see #61), and one for the Viewport View, and transitioning the keymaps from raw strings to the keymap counterparts (e.g., case key.Matches(msg, ListKeyMap.Quit): instead of case "q", "ctrl+c", "etc.":)
This would add some interoperability with features of
bubbles/list
and others that use this already, and makes setting up keybinds much more consistent. It shouldn't take too long, and would help address the PR for #61.The main move would be creating three keybind keymaps, one for List View, one for Filter View (see #61), and one for the Viewport View, and transitioning the keymaps from raw strings to the keymap counterparts (e.g.,
case key.Matches(msg, ListKeyMap.Quit):
instead ofcase "q", "ctrl+c", "etc.":
)