this post was submitted on 09 Jul 2023
14 points (93.8% liked)

Lemmy Plugins and Userscripts

375 readers
1 users here now

A general repository for user scripts and plugins used to enhance the Lemmy browsing experience.

Post (or cross-post) your favorite Lemmy enhancements here!

General posting suggestions:

Thanks!

founded 2 years ago
MODERATORS
 

Forked from @[email protected]'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!

top 11 comments
sorted by: hot top controversial new old
[–] afoutopatisa 3 points 1 year ago (1 children)

@[email protected] in case you want to consider this for inclusion to LemmyTools feel free ofc

[–] [email protected] 3 points 1 year ago (1 children)

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 3 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (2 children)

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 2 points 1 year ago

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 2 points 1 year ago (2 children)

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

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Ohhhhh I really like this feature!

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] afoutopatisa 2 points 1 year ago (1 children)

Oh that's gooooooood - approved already!

[–] [email protected] 2 points 1 year ago
[–] afoutopatisa 2 points 1 year ago

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 @[email protected]
load more comments
view more: next ›