github.com/Yukaii
Daily Oops

Daily Oops!

https://yukai.dev/blog/2023/08/29/introducing-vimify-hackernewsIntroducing Vimiify HackerNews - the opinionated vim-inspired keyboard shortcuts for HNhttps://fed.brid.gy/
August 29, 2023

Introducing Vimiify HackerNews - the opinionated vim-inspired keyboard shortcuts for HN

I just made yet another browser extension called “Vimify HackernNews”! You can download it from Chrome WebStore.

It added several vim-inspired keyboard shortcuts to HN/HackerNews. Here’s the complete supported shortcut:

Keybinding Description
<num>j Navigate Down
<num>k Navigate Up
gg Jump to first
G Jump to last
<num>G Jump to <num>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
Keybinding URL
gh https://news.ycombinator.com/news
gs https://news.ycombinator.com/show
gt Go to Threads
ga https://news.ycombinator.com/ask
gj https://news.ycombinator.com/jobs
gn https://news.ycombinator.com/submit
gc https://news.ycombinator.com/newcomments

What’s the differences with other extensions?

  1. It adds some natural vim movements, such as j/k(with number prefix), <C-d>/<C-u> and even zt/zz/zb. And history navigation.
  2. I made a nice help modal
The nice help modal, haha

Try it now!

https://fed.brid.gy/
本篇文章驕傲的使用 HackMD 發佈
Yukai Huanghttps://yukai.dev

Hi

This is Yukai Huang's personal website.

Here you can read my recent posts, play with my side projects before, or get to know me more.

安久吧!

https://fed.brid.gy/