cinnyapp / cinny

Yet another matrix client
https://cinny.in
GNU Affero General Public License v3.0
1.87k stars 242 forks source link

Implement Ctrl-K quick search #57

Closed hifi closed 2 years ago

hifi commented 3 years ago

Describe the solution you'd like

Common idiom with chat applications has been to have Ctrl-K focus a search field to quick filter channels with arrow keys to browse the suggestions and enter to select. Esc should cancel the search and re-focus the current channel input field.

Describe alternatives you've considered

I don't know any better way to quickly jump into different channel by name.

ajbura commented 3 years ago

Have you tried go-to commands?

hifi commented 3 years ago

Might be a workable idea to bind Ctrl-K to clear the input field and insert > :thinking:

Though it should then suggest the continuation characters already when you have started the line with >. They are great and I didn't really notice them before.

vwkd commented 2 years ago

This could be part of a search modal #132.

ajbura commented 2 years ago

done in https://github.com/ajbura/cinny/commit/fbeecc047918701c08289176d7765ff03fbd3738