Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keyboard shortcuts #281

Closed
poperigby opened this issue Sep 28, 2019 · 7 comments
Closed

Add keyboard shortcuts #281

poperigby opened this issue Sep 28, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@poperigby
Copy link

Some ideas:

  • Create link = (Highlight text) + Ctrl + K
  • New post = Ctrl + N
@zacanger
Copy link
Contributor

zacanger commented Oct 8, 2019

Whenever a site has built-in keyboard shortcuts, that adds the risk of interfering with default browser behavior (which can break accessibility), and also with browser extensions (for us Vimmers out there). Not saying it's a bad idea, just something to keep in mind and be careful of.

@dessalines
Copy link
Member

Same, I use vim-like browser plugins, and if I'm lucky, any sites that use hotkeys will let me disable them.

@poperigby
Copy link
Author

Of course. There should be an option to turn them off.

@ptman
Copy link
Contributor

ptman commented Jun 2, 2020

And a way to show the current shortcuts (link + shortcut)

@Atemu
Copy link

Atemu commented Jun 29, 2020

I think both vim- and emacs-like keybinds would be great to have and they could probably even exist side-by-side.

It'd be really cool if you could navigate the whole UI with keyboard only, that's something you can't even do with RES. It would also make the site more accessible for people who cannot easily use a mouse.

Ideally the specific shortcuts would be fully configurable.

@dessalines
Copy link
Member

It'd be really cool if you could navigate the whole UI with keyboard only

What's even cooler, is navigating any site with a keyboard, which many of us currently do, using plugins like vim-vixen, trydactyl, etc.

This is why I'm probably not going to add keyboard shortcuts to lemmy. This is a solved problem for the web in general, and any keyboard shortcuts would just conflict with that solution.

@Atemu
Copy link

Atemu commented Jun 29, 2020

I use Vimium myself too but I find site-specific shortcuts like RES' much more convenient and useful.

Browsing typically works fine with external tools but interacting with the website (collapse replies, open post, up/downvote, reply, save etc.) is a lot better with "native" shortcuts rather than "pressing" the website's buttons with a long key combination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants