redlib icon indicating copy to clipboard operation
redlib copied to clipboard

💡 Feature request: Keyboard Shortcut Navigation

Open kylepyke opened this issue 8 months ago • 6 comments

Is your feature request related to a problem? Please describe.

No.

Describe the feature you would like to be implemented

Keyboard shortcut navigation similar to Reddit Enhancement Suite. J/K for next/previous post, shift+c to open comments, X to expand post, etc. Obviously some of these aren't possible/necessary without an account.

Describe alternatives you've considered

None.

Additional context / screenshot

See attached screenshot for RES key commands.

Image

kylepyke avatar Apr 02 '25 04:04 kylepyke

hey there @sigaloid I can give some of these a shot (if no one else is working on it). I'm a bit busy at the moment so not sure how fast I'll be able to get a PR in, but if that's ok then I'll work on it when I can!

ryanshanz avatar Apr 07 '25 03:04 ryanshanz

That would be great, particularly the comment navigation parts - the post navigation would probably require some other architecture changes that I'd probably consider out of scope. But yes, a JS module for some minor additional keyboard bindings would be great. For now you can just work on the actual implementation, I'll add a preference gate towards the end (or you can go for it - there's a few examples in other merged PRs of what needs to change).

sigaloid avatar Apr 07 '25 03:04 sigaloid

I agree that comment navigation would be the most helpful! Being able to jump to the next comment tree is one that I use particularly often. Thanks!

kylepyke avatar Apr 07 '25 18:04 kylepyke

Sounds good! I'll start working on those.

ryanshanz avatar Apr 08 '25 19:04 ryanshanz

Hey there, just an update on this! Sorry it’s taken a while, been a bit busy as I’m still in school and the semester is wrapping up but I should have more time soon!

ryanshanz avatar May 01 '25 02:05 ryanshanz

No prob! thanks for working on this!

kylepyke avatar May 02 '25 02:05 kylepyke