Add-ons für den Firefox-Browser
  • Erweiterungen
  • Themes
    • für Firefox
    • Wörterbücher & Sprachpakete
    • Andere Browser-Seiten
    • Add-ons für Android
Anmelden
Vorschau von ViHN: keyboard navigation for Hacker News

ViHN: keyboard navigation for Hacker News von Quentin Santos

Vi-style key bindings for browsing Hacker News. It's fast. If you have to wait a perceptible amount of time, that's a bug.

5 (1 Bewertung)5 (1 Bewertung)
11 Benutzer11 Benutzer
Laden Sie Firefox herunter und holen Sie sich die Erweiterung
Datei herunterladen

Metadaten zur Erweiterung

Screenshots
Navigate comments with the keyboard, reply without leaving the page, browse newest commentsYou can also browse stories (front page, /best, /new, /newest, favorites, etc.)
Über diese Erweiterung
Vi-style key bindings for browsing Hacker News.

It's fast. If you have to wait a perceptible amount of time, that's a bug.

Compatible with <a href="https://addons.mozilla.org/en-US/firefox/addon/hacker-news-night-mode/">Hacker News Night Mode</a>. See also <a href="https://addons.mozilla.org/fr/firefox/addon/vimium-ff/">Vimium</a>.

<strong>Features</strong>

Use the key bindings similar to Vi to navigate Hacker News stories and comments.
It should work on story listings (front page, /new, /newest, /best, user submissions, etc.), comment threads, and comment listings (user comments, etc.).

Also, you can quickly find new comments by hitting “n” to browse comments in inverse chronological order.

In addition, the quick-reply and quick-edit forms let you see a preview of the comment you are writing.

Finally, the original poster (OP) is highlighted in comments.

<strong>Key bindings</strong>

Press <strong>?</strong> to toggle help.

<strong>Note</strong>: Like in Vim mapping, case is important. So <strong>j</strong> means hitting the <strong>j</strong> key with <strong>Caps Lock</strong> disabled, and without holding <strong>Shift</strong>. But <strong>J</strong> means hitting <strong>j</strong> key with either <strong>Caps Lock</strong> enabled, or while holding <strong>Shift</strong>.

<strong>Navigate Comments/Stories</strong>

<ul>
<li><strong>j</strong>: Next comment/story</li>
<li><strong>k</strong>: Previous comment/story</li>
<li><strong>J</strong>: Next sibling comment</li>
<li><strong>K</strong>: Previous sibling comment</li>
<li><strong>g</strong>: Go to first story/comment</li>
<li><strong>G</strong>: Go to last story, last root comment or “More” link</li>
<li><strong>H</strong>: Focus on story/comment at the top of the screen (<strong>h</strong>igh)</li>
<li><strong>M</strong>: Focus on story/comment in the <strong>m</strong>iddle of the screen</li>
<li><strong>L</strong>: Focus on story/comment at the bottom of the screen (<strong>l</strong>ow)</li>
<li><strong>n</strong>: Switch to Newest Items</li>
<li><strong>h</strong>: Parent comment/story (see #follow-links)</li>
<li><strong>p</strong>: Parent comment/story (see #follow-links)</li>
</ul>

<strong>Note:</strong>
You can also select an item by clicking in its bounding box.

<strong>Follow links</strong>

<ul>
<li><strong>o</strong>: Open story link/comment</li>
<li><strong>O</strong>: Open story link/comment in background</li>
<li><strong>c</strong>: Open comment thread</li>
<li><strong>C</strong>: Open comment thread in background</li>
<li><strong>b</strong>: Open both story link and comment thread</li>
<li><strong>B</strong>: Open both story link and comment thread in background</li>
<li><strong>h</strong>: Follow “context” link (go to comment thread, but focus on current comment)</li>
<li><strong>p</strong>: Follow “parent” link (go to parent's page, and focus on parent comment/story)</li>
<li><strong>1</strong>: Open 1st link in comment (maintain shift to open in background)</li>
<li><strong>…</strong>: …</li>
<li><strong>9</strong>: Open 9th link in comment (maintain shift to open in background)</li>
<li><strong>0</strong>: Open 10th link in comment (maintain shift to open in background)</li>
</ul>

<strong>Note:</strong>
When on the “XXX more comments” link, you can hit either of [lLcC] to go to the next page of comments.

<strong>Note:</strong>
The digits of the numeric keypad work as well to open links in comments.
However, this can only open links in foreground.

<strong>Note:</strong>
When using AZERTY, the key bindings to open links inside comments still work like in QWERTY.
Hit the <strong>1</strong> key <strong>without</strong> shift (like typing &) to open the 1st link in foreground.
Hit the <strong>1</strong> key <strong>with</strong> shift (like typing 1) to open the 1st link in background.
Same for the other link numbers.

<strong>Actions</strong>

<ul>
<li><strong>m</strong>: Collapse/uncollapse comment tree</li>
<li><strong>u</strong>: Upvote story/comment, or cancel vote</li>
<li><strong>d</strong>: Downvote story/comment, or cancel vote</li>
<li><strong>f</strong>: Favorite/un-favorite story/comment of the current page</li>
<li><strong>F</strong>: Flag/unflag story/comment of the current page</li>
<li><strong>r</strong>: Comment on story, or reply to comment (with preview)</li>
<li><strong>e</strong>: Edit comment (with preview)</li>
<li><strong>D</strong>: Delete comment</li>
<li><strong>Ctrl</strong>+<strong>Return</strong>: Submit current form</li>
</ul>

<strong>Navigate Newest Items</strong>

In the Newest Items list, the following key bindings are available:

<ul>
<li><strong>l</strong>: Show selected comment/story</li>
<li><strong>j</strong>: Next comment/story</li>
<li><strong>k</strong>: Previous comment/story</li>
<li><strong>J</strong>: Jump 10 down</li>
<li><strong>K</strong>: Jump 10 up</li>
<li><strong>g</strong>: Go to top story/comment</li>
<li><strong>G</strong>: Go to last story/comment</li>
<li><strong>n</strong>: Switch back from Newest Items</li>
</ul>
Bewertet mit 5 von 1 Bewerter
Melden Sie sich an, um diese Erweiterung zu bewerten
Es liegen noch keine Bewertungen vor

Stern-Bewertung gespeichert

5
1
4
0
3
0
2
0
1
0
1 Bewertung lesen
Berechtigungen und Daten

Benötigte Berechtigungen:

  • Auf Browsertabs zugreifen
  • Auf Ihre Daten für news.ycombinator.com zugreifen
Weitere Informationen
Weitere Informationen
Add-on-Links
  • Hilfeseite
  • Hilfe-E-Mail-Adresse
Version
1.37
Größe
37,53 KB
Zuletzt aktualisiert
vor 3 Monaten (1. Aug. 2025)
Verwandte Kategorien
  • RSS-Feeds, Nachrichten & Bloggen
Lizenz
Nur GNU General Public License v3.0
Versionsgeschichte
  • Alle Versionen anzeigen
Zur Sammlung hinzufügen
Dieses Add-on melden
Zur Mozilla-Startseite gehen

Add-ons

  • Über
  • Firefox-Add-ons-Blog
  • Erweiterungs-Workshop
  • Entwickler-Zentrum
  • Regeln für Entwickler
  • Blog der Gemeinschaft
  • Forum
  • Einen Fehler melden
  • Bewertungsleitfaden

Browser

  • Desktop
  • Mobile
  • Enterprise

Produkte

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Datenschutz
  • Cookies
  • Rechtliches

Sofern nicht anders vermerkt, steht der Inhalt dieser Seite unter der Creative Commons Attribution Share-Alike License v3.0 oder einer späteren Version.