Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emctague/vim-keys-for-reddit
A Safari clone of RES - Adds some keyboard shortcuts to reddit!
https://github.com/emctague/vim-keys-for-reddit
extension keyboard-shortcuts reddit safari safari-extension
Last synced: 3 months ago
JSON representation
A Safari clone of RES - Adds some keyboard shortcuts to reddit!
- Host: GitHub
- URL: https://github.com/emctague/vim-keys-for-reddit
- Owner: emctague
- License: mit
- Created: 2019-12-05T15:53:19.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-06T17:45:53.000Z (over 4 years ago)
- Last Synced: 2024-06-25T21:54:47.276Z (5 months ago)
- Topics: extension, keyboard-shortcuts, reddit, safari, safari-extension
- Language: JavaScript
- Homepage: https://l.tague.me/vim-keys-for-reddit
- Size: 848 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vim Keys for Reddit
This is a minimal Safari clone of the [Reddit Enhancement Suite](https://redditenhancementsuite.com).
Unfortunately, the Reddit Enhancement Suite doesn't support Safari - so this project introduces support.## [Install Latest Version](https://github.com/emctague/vim-keys-for-reddit/releases/latest/download/Vim.Keys.for.Reddit.zip)
You can download the latest version [here](https://github.com/emctague/vim-keys-for-reddit/releases/latest). Install it by downloading, unzipping, and then dragging it to your Applications folder. Make sure it's enabled in your Safari extension settings, too!
## Supported Keyboard Shortcuts
* `j` - Navigate down one post / comment.
* `k` - Navigate up one post / comment.
* `J` - Navigate down one post/comment at the same level (skipping over replies to the current comment.)
* `K` - Navigate up one post/comment at the same level (skipping over replies to the previous comment.)
* `a`, `A` - Upvote the current post / comment.
* `z`, `Z` - Downvote the current post / comment.
* `c` - Open the comment section for the current post.
* `C` - Open the comment section for the current post in a new tab.
* `l` - Open the comment section *and* linked URL for the current post in new tabs.
* `x` - Expand/collapse an expando or comment, or load more comments on a "Load more comments" link.## Differences from RES Behavior
* The first post / comment on the page is automatically focused when the page loads. On RES, the first time you press `j` or `k` it'd select the first post, instead.
* There is no infinite scrolling for the time being, which is unfortunate. Sorry!
* Once you've expanded an expando with `x`, navigating with `j` and `k` *won't* cause other expandos to automatically expand.
* The enter key cannot be used to collapse or expand comments and expandos.
* Pressing `c` or `C` on a comment will open the permalink page for that comment.
* There are quirks in navigation after additional comments have been loaded via a "load more comments" link.
## Licensing
Vim Keys for Reddit is licensed under the MIT license. See [LICENSE](LICENSE) for details.
## Contributors
* [Ethan McTague](https://github.com/emctague) - Main project
* [cpiro](https://github.com/cpiro) - contributed `l` key binding functionality!