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: 5 months ago
JSON representation
RES-like script that allows you to easily navigate Lemmy with your keyboard
- Host: GitHub
- URL: https://github.com/vmavromatis/Lemmy-keyboard-navigation
- Owner: vmavromatis
- License: gpl-3.0
- Created: 2023-07-08T06:05:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T11:02:54.000Z (12 months ago)
- Last Synced: 2024-11-16T10:18:19.983Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 305 KB
- Stars: 29
- Watchers: 4
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-lemmy - Lemmy-keyboard-navigation - like script that allows you to easily navigate Lemmy with your keyboard |   (Projects / Userscripts / Browser plugins)
README
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/)

## 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
CommentsJ = Next Post
J = Next CommentK = Previous Post
K = Previous CommentL = Next Page
⇧ Shift + J or L = Next same-level CommentH = Previous Page
⇧ Shift + K or H = Previous same-level CommentHint 💡 Turn Vim-mode off from Options to use arrow navigation (↓↑→←<) instead!
T = Go to Top
T = Go to TopA = Upvote
A = UpvoteZ = Downvote
Z = DownvoteS = Save Post
S = Save comment / Show more optionsE = Edit Post
E = Edit comment / Show more optionsX = 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 contextG = Open Navigation Dialog
G = Open Navigation DialogO = Open Options Page
O = Open Options page. = Open Quick Search
. = Open Quick SearchC = View Comments (⇧ Shift + C to open in new tab)
P = Parent CommentR = Go to community (⇧ Shift+ R to open in new tab)
R = ReplyU = 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)

### Options ('Ο'):
### Quicknav ('G'):
### Quick Search ('.'):
## 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