Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

RES-like script that allows you to easily navigate Lemmy with your keyboard
https://github.com/vmavromatis/Lemmy-keyboard-navigation

Last synced: 26 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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](https://github.com/vmavromatis/Lemmy-keyboard-navigation/assets/8668731/ddfcb01c-4fa0-4870-8732-66183bb08502)

## Installation

| Greasy Fork
v2.7 | Chrome
v2.6 | Firefox
v2.6 | Edge
v2.6 | Opera
v2.6 |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [](https://greasyfork.org/en/scripts/470498-lemmy-keyboard-navigation)| [](https://chrome.google.com/webstore/detail/lemmy-keyboard-navigator/lamoeoaekeeklbcekclbceaeafjkdhbi) | [](https://addons.mozilla.org/en-US/firefox/addon/lemmy-keyboard-navigation/) | [](https://microsoftedge.microsoft.com/addons/detail/lemmy-keyboard-navigation/bjnfcimfnaefjmefhagbfabgclhgmfdo/) | [](https://addons.opera.com/en/extensions/details/lemmy-keyboard-navigation/) |

## 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](https://github.com/InfinibyteF4/Lemmy-keyboard-navigation/assets/75824710/1a3bc7d4-564c-4054-9e26-be7edce811c8)
![comments](https://github.com/InfinibyteF4/Lemmy-keyboard-navigation/assets/75824710/b9b529d0-0736-4d91-9f8b-293e319a52c0)

### Options ('Ο'):
image

### Quicknav ('G'):
image

### Quick Search ('.'):
![Flameshot_150](https://github.com/InfinibyteF4/Lemmy-keyboard-navigation/assets/75824710/5b429d02-540f-4bbb-926b-7d1de299d60c)

## 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](https://lemmy.world/post/10035360)
- 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