Easily Navigate Lemmy with Keyboard Arrows

https://github.com/vmavromatis/Lemmy-keyboard-navigation

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!

14 points · 16 comments · view on lemmy.world

16 Comments

afoutopatisa@lemmy.world · 3 pts · 3y (9 replies)

@howdy@thesimplecorner.org in case you want to consider this for inclusion to LemmyTools feel free ofc

howdy@thesimplecorner.org · 3 pts · 3y (8 replies)

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.

afoutopatisa@lemmy.world · 3 pts · 3y (7 replies)

🙌

howdy@thesimplecorner.org · 3 pts · 3y (6 replies)

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.

afoutopatisa@lemmy.world · 2 pts · 3y (4 replies)

I just added reply functionality with R key, quick n dirty, take a look. When I have time, I will add more stuff.

howdy@thesimplecorner.org · 2 pts · 3y (2 replies)

Went ahead and did a pull request for some updates :)

afoutopatisa@lemmy.world · 2 pts · 3y (1 reply)

Oh that's gooooooood - approved already!

howdy@thesimplecorner.org · 2 pts · 3y

Thanks :).

howdy@thesimplecorner.org · 2 pts · 3y

Ohhhhh I really like this feature!

afoutopatisa@lemmy.world · 2 pts · 3y

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.

afoutopatisa@lemmy.world · 2 pts · 3y

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 ⚡