Daily Oops

Daily Oops!

https://yukai.dev/zh-TW/blog/2023/08/29/introducing-vimify-hackernewsIntroducing Vimiify HackerNews - the opinionated vim-inspired keyboard shortcuts for HNhttps://fed.brid.gy/
2023年8月29日

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/zh-TWgithub.com/Yukaii

哈囉

這裡是 Yukai Huang 的個人網站。

你可以在這裡看看我的 最新文章、玩玩我做過的 side projects,或是 更認識我一些

安久吧!

https://fed.brid.gy/