purebred-mua / purebred

A terminal based mail user agent based on notmuch
GNU Affero General Public License v3.0
139 stars 19 forks source link

different actions for new search / refine search #435

Closed frasertweedale closed 3 years ago

frasertweedale commented 3 years ago

Describe the solution you'd like As a user, I sometimes wish to refine the current search, and sometimes wish to start a new search. The current search behaviour places the cursor at the end of the current search term. So when conducting a new search, the original term must first be deleted.

Therefore, I would like separate actions for refine search (current behaviour) and new search (start with an empty string). These can be be wired to different keybindings.

Describe alternatives you've considered Status quo: making my backspace finger swol.

romanofski commented 3 years ago

Hm... instead of using Backspace, use CTRL+u to start from scratch. With that in mind, is there still a need for this?

frasertweedale commented 3 years ago

Yeah I guess I just don't know the keybindings... haskeline support would be ideal :)