Live data from Hacker News

ViHN: Vim for Hacker News

qsantos.fr

1–10 of 58 posts

Re: ViHN: Vim for Hacker News

#2
tl;dr: I made ViHN [1] to read Hacker News without having to move my hands away from the keyboard. It’s freely available on Firefox [2] and Chrome [3].

[1] https://github.com/qsantos/ViHN/

[2] https://addons.mozilla.org/fr/firefox/addon/vihn/

[3] https://chromewebstore.google.com/detail/vihn/cfmccoefeojndm...

Re: ViHN: Vim for Hacker News

#5
There should be a couple command line tools to read HN, this way you can even stay in the terminal and don't need to switch to the browser

Switching to my browser, navigating to HN, and checking the first page (and going back if nothing interests me) already does not require me to touch my mouse and can be done with very few keystrokes. Typically, I visit HN when I'm waiting for something to complete or similar, though, in which case I anyways happily move my hand to the mouse, as I'll be _browsing_ for a bit

Re: ViHN: Vim for Hacker News

#6
Is it really vim if you don't have modes and can't combine operations ;p. Everything is pretty much single keystrokes that don't combine in any meaningful way. The only "vim" thing about it is h/j/k/l. Thing like collapsing don't use vim keys z(a|o|c), going to different places doesn't use g.

There's some weird scroll into view code as well, holding j to just scroll down buffers up a bunch of scrolls and then scrolls all at once. I'm guessing it's a side effect of smooth scrolling or something.

To avoid being a typical grumpy HN commentator, nice work :).

Post reply on HN