Buscador de complementos para Firefox
  • Extensiones
  • Temas
    • para Firefox
    • Diccionarios y paquetes de idiomas
    • Otros sitios de navegadores
    • Complementos para Android
Conectarse
Vista previa de ViHN: keyboard navigation for Hacker News

ViHN: keyboard navigation for Hacker News por 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 revisión)5 (1 revisión)
12 usuarios12 usuarios
Descarga Firefox y obtiene la extensión
Descargar archivo

Metadata de la extensión

Capturas de pantalla
Navigate comments with the keyboard, reply without leaving the page, browse newest commentsYou can also browse stories (front page, /best, /new, /newest, favorites, etc.)
Sobre esta extensión
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>
Calificado 5 por 1 revisor
Inicia sesión para evaluar esta extensión
Todavía no hay valoraciones

Se guardó la valoración

5
1
4
0
3
0
2
0
1
0
Leer 1 revisiones
Permisos y datosSaber más

Permisos requeridos:

  • Acceder a las pestañas del navegador
  • Acceder a tus datos para news.ycombinator.com
Más información
Enlaces del complemento
  • Ayuda del sitio
  • Correo de ayuda
Versión
1.37
Tamaño
37,53 KB
Última actualización
hace 3 meses (1 de ago. de 2025)
Categorías relacionadas
  • Canales, noticias y blogs
Licencia
Solo Licencia Pública General de GNU v3.0
Historial de versiones
  • Ver todas las versiones
Añadir a la colección
Reportar este complemento
Ir a la página de inicio de Mozilla

Complementos

  • Acerca de
  • Blog de complementos de Firefox
  • Taller de extensiones
  • Central del desarrollador
  • Normativas para desarrolladores
  • Blog de la comunidad
  • Foro
  • Informar de un error
  • Guía de revisión

Navegadores

  • Desktop
  • Mobile
  • Enterprise

Productos

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

A menos que se indique lo contrario, el contenido de este sitio está licenciado bajo la licencia Creative Commons Reconocimiento Compartir-Igual v3.0 o una versión posterior.