taskwarrior-tui icon indicating copy to clipboard operation
taskwarrior-tui copied to clipboard

Fuzzy search in context switcher

Open i-interprete-on-the-fly opened this issue 1 year ago • 0 comments

Description Hi, thank you for this awesome tool.

Currently the context switcher is navigatable through the arrow and jk keys. I would like to introduce a fuzzy context search since I am using contexts heavily (because of the context-aware addition of tags and project assignment) and would like to be more efficient while switching.

Solution This could be implemented by introducing filter functionality using "/" such that it does live filtering as the user types. "Enter" switches to the currently selected context and "esc" cancels filtering and returns the switcher to conventional mode. The arrow keys could still be used for navigating the filtered list.

This would not impact users using the current workflow but would enable a more effective context switch possibility. (Bonus would be a seperate hotkey for starting the context switcher in filter mode directly.)

i-interprete-on-the-fly avatar May 12 '23 06:05 i-interprete-on-the-fly