https://github.com/yukaii/vimify-hackernews
Opinionated vim-inspired keybinding for HackerNews
https://github.com/yukaii/vimify-hackernews
browser-extension hackernews vim-keybindings vim-keyboard-shortcuts
Last synced: 4 months ago
JSON representation
Opinionated vim-inspired keybinding for HackerNews
- Host: GitHub
- URL: https://github.com/yukaii/vimify-hackernews
- Owner: Yukaii
- Created: 2023-08-06T15:22:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-12T04:40:11.000Z (almost 2 years ago)
- Last Synced: 2025-02-14T01:06:44.451Z (4 months ago)
- Topics: browser-extension, hackernews, vim-keybindings, vim-keyboard-shortcuts
- Language: TypeScript
- Homepage: https://chrome.google.com/webstore/detail/vimify-hackernews/mfbnahmjgjaneipfjhepbdbnfiochcgp
- Size: 288 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vimify HackerNews - Vim-inpired keybinding to navigate HackerNews
[](https://chrome.google.com/webstore/detail/vimify-hackernews/mfbnahmjgjaneipfjhepbdbnfiochcgp)
https://github.com/Yukaii/hackernews-vim-keybinding/assets/4230968/9e16b212-af1e-44a9-97b5-c025a0e34f76
## Usage
| Keybinding | Description |
| :--------- | :--------------------------- |
| `j` | Navigate Down |
| `k` | Navigate Up |
| `gg` | Jump to first |
| `G` | Jump to last |
| `G` | Jump to ``th |
| `o` | Open Link |
| `O` | Open Link in New Tab |
| `v` | Upvote |
| `u` | Unvote |
| `d` | Open comments |
| `D` | Open comments in New Tab |
| `Escape` | Unfocus |
| `m` | Read More |
| `r` | Reload |
| `zz` | Scroll active item to center |
| `zt` | Scroll active item to top |
| `zb` | Scroll active item to bottom |
| `Ctrl+o` | Navigate back |
| `Ctrl+i` | Navigate forward |
| `Ctrl+d` | Scroll down half page |
| `Ctrl+u` | Scroll up half page |
| `Ctrl+f` | Scroll down full page |
| `Ctrl+b` | Scroll up full page |### Site navigation
| Keybinding | URL |
| :--------- | :----------------------------------------------------------------------------------- |
| `gh` | [https://news.ycombinator.com/news](https://news.ycombinator.com/news) |
| `gs` | [https://news.ycombinator.com/show](https://news.ycombinator.com/show) |
| `gt` | Go to Threads |
| `ga` | [https://news.ycombinator.com/ask](https://news.ycombinator.com/ask) |
| `gj` | [https://news.ycombinator.com/jobs](https://news.ycombinator.com/jobs) |
| `gn` | [https://news.ycombinator.com/submit](https://news.ycombinator.com/submit) |
| `gc` | [https://news.ycombinator.com/newcomments](https://news.ycombinator.com/newcomments) |## Special Thanks to GPT-4 chan
https://chat.openai.com/share/dc85aa8e-039d-48ae-84a9-eb72289d5992
## Prior Works
I knew some may exist, but I want to make my own version 🤣.
- Refined Hacker News: https://github.com/plibither8/refined-hacker-news
- Support many features. My extension only focus on vim style keyboard navigation with my own taste.
- `hackernews-platinum`: https://github.com/fberger/hackernews-platinum
- `hacker-news-keyboard-navigation`: https://github.com/ZYinMD/hacker-news-keyboard-navigation
- `hackercut`: https://chrome.google.com/webstore/detail/hacker-news-shortcut/dmiimkldokblocpmleogaeohkbffnobo## License
MIT