Forked from @boobslider100@lem.ee’s script - I just modified it to navigate Lemmy with arrows instead. I find it much easier than using J/K. Right/Left arrows have dual usage also, as they can both change the page and jump to next/previous same level comment :)
Down = Next post / comment
Up = Previous post / comment
Right = Next page / parent comment
Left = Previous page / parent comment
A = Upvote
Z = Downvote
X = Expand
C = View Comments
Enter = View Link
I made it for me but feel free to give it a go and let me know what you think!
@howdy@thesimplecorner.org in case you want to consider this for inclusion to LemmyTools feel free ofc
Thank you for the ping! We are doing a code cleanup on LemmyTools right now and will try to get this added in the next major update. I really appreciate you.
🙌
I actually am really enjoying the script, have you thought about adding a way back by keypress out of a post’s comments? Merely a “back” button implementation? To use after you’re done reading the comments or whatever. Also, maybe a key press to enter a comment box or reply to a certain comment. Those are my thoughts at the moment! Very good! I’ll probably do a CDN link to your most recent via the script. Thank you so much.
Thank you!
I will add them all when I have time, probably this afternoon. As for “Back”, I am currently using the browser back functionality (CMD+Left arrow in mac) but I can see if I can implement something smarter, maybe with one key only.
I just added reply functionality with R key, quick n dirty, take a look. When I have time, I will add more stuff.
Ohhhhh I really like this feature!
Went ahead and did a pull request for some updates :)
Oh that’s gooooooood - approved already!
Thanks :).
Version 1.7 just released!
- New app icon ⌨️
- Added R key to reply to a comment 💬
- Fixed meta headers ✍️
- Fixed all lint errors 🐛
- Now script works automatically on all Lemmy sites, thanks to @howdy@thesimplecorner.org ⚡