Skip to content

RES-like script that allows you to easily navigate Lemmy with your keyboard

License

Notifications You must be signed in to change notification settings

vmavromatis/Lemmy-keyboard-navigation

Repository files navigation

image

A RES-like userscript to easily navigate Lemmy with your keyboard.

Works on both lemmy-ui (such as https://lemmy.world/) and mlmym (such as https://old.lemmy.world/)

gif

Installation

Greasy Fork
v2.7
Chrome
v2.6
Firefox
v2.6
Edge
v2.6
Opera
v2.6

Usage

Default keybinds:

Posts Comments
J = Next Post J = Next Comment
K = Previous Post K = Previous Comment
L = Next Page ⇧ Shift + J or L = Next same-level Comment
H = Previous Page ⇧ Shift + K or H = Previous same-level Comment

Hint 💡 Turn Vim-mode off from Options to use arrow navigation (↓↑→←<) instead!

T = Go to Top T = Go to Top
A = Upvote A = Upvote
Z = Downvote Z = Downvote
S = Save Post S = Save comment / Show more options
E = Edit Post E = Edit comment / Show more options
X = Expand/Collapse Post (⇧ Shift + X to expand all posts) X or ⏎ Enter = Toggle collapse / Show more replies
- = Shrink Expanded Image 1 ... 0 = Click links in comment
= = Grow Expanded Image Q = Show context
G = Open Navigation Dialog G = Open Navigation Dialog
O = Open Options Page O = Open Options page
. = Open Quick Search . = Open Quick Search
C = View Comments (⇧ Shift + C to open in new tab) P = Parent Comment
R = Go to community (⇧ Shift+ R to open in new tab) R = Reply
U = Go to poster's profile (⇧ Shift + U to open in new tab) U = Go to commenter's profile (⇧ Shift + U to open in new tab)
⏎ Enter = Visit Link (⇧ Shift + ⏎ Enter to open in new tab)

linkpages comments

Options ('Ο'):

image

Quicknav ('G'):

image

Quick Search ('.'):

Flameshot_150

Development:

For Chrome or Firefox extension

Select the following files and compress into a zip:

  • manifest.json
  • icon16.png
  • icon48.png
  • icon128.png
  • lemmy-keyboard-navigation.user.js
  • lemmy-keyboard-navigation-mlmym.user.js

Then upload the zipped file to publish new version.

Licence & Credits:

  • GPL 3.0
  • Initially based on boobslider100's script
  • Major contributions and HJKL support by @aglidden
  • Rebased entirely from @InfinibyteF4 to support extra features like Save Comment/Post (S) , View Community (R) and bugfixes

Donate:

Buy Me A Coffee

About

RES-like script that allows you to easily navigate Lemmy with your keyboard

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •