67P / hyperchannel

Kosmos Chat for the Web
Mozilla Public License 2.0
20 stars 3 forks source link

Keyboard shortcut for fast-switching channels #148

Closed raucao closed 5 years ago

raucao commented 6 years ago

This is something I can't live without in my desktop IRC client. It supports ctrl-pgup/down for going up and down the channel list. Not sure what the best combo for a web app would be, and also not sure what a good compromise would be for users of all of macOS, Windows, GNOME and KDE.

gregkare commented 6 years ago

A shortcut to get to the next channel with an unread message would be super useful too (I use it all the time in my desktop IRC client)

raucao commented 6 years ago

What's the shortcut for that in your client?

gregkare commented 6 years ago

Alt+a (weechat): "Switch to next buffer with activity (with priority: highlight, message, other)."

raucao commented 6 years ago

I think ctrl-arrowup/down would be an okay combo. Does that clash with anyone's OS's defaults in their browser? Haha, that's for scrolling, but I didn't notice because the history in my dev channel wasn't long enough and I don't personally scroll that way. :)

So, actually what about ctrl-arrowleft/right? We don't have sidescrolling, and most users probably also don't scroll sideways using the keyboard much.

gregkare commented 6 years ago

Ctrl-arrowleft/right sounds good to me!

galfert commented 6 years ago

On OS X scrolling is done via cmd-up/down and ctrl-up/down is opening window exposés.

There is nothing happening for ctrl-left/right, so that should work.

galfert commented 5 years ago

There is nothing happening for ctrl-left/right, so that should work.

Actually, in macOS, ctrl+left/right switches between spaces. So I think that one's out as well.

How about using ctrl+shift+up/down?

raucao commented 5 years ago

How about using ctrl+shift+up/down?

I'd prefer ctrl+left/right, but how about we make it system-specific? Or let users choose their own and have ctrl+shift+up/down as default. In any case, the latter should work on all systems.