Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
JK Vim-Style Page/Tab Navigation 预览

JK Vim-Style Page/Tab Navigation 作者: Andrej Borisenko

Vim keys on every page: j/k scroll, gg/G, f link hints, H/L history, Shift+J/K switch tabs. Works in any keyboard layout.

0(0 条评价)0(0 条评价)
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
The keys: j/k scroll, gg/G top and bottom, f link hints, H/L history, Shift+J/K tab switch.Link-hint mode: press f, then type the two-character code beside a link, button or field.
关于此扩展
JK Vim-Style Page/Tab Navigation (jk-nav) adds Vim-style keyboard navigation to every page and to the tab strip, in Chrome and Firefox, from one codebase.

KEYS
  • j / k: scroll down / up by one step. Hold the key to keep scrolling; release to stop.
  • gg / G: go to the top / bottom of the page.
  • H / L: go back / forward in history.
  • f: show a two-character hint beside up to 900 visible links, buttons and form fields. Type the hint to activate it. Esc leaves hint mode.
  • Shift+J / Shift+K: switch to the tab on the left / right. Wraps at both ends, skips hidden tabs and, in Chrome and Firefox 139 or newer, tabs in collapsed tab groups. Stays in the current window.

PERFORMANCE

jk-nav is built to stay out of your way:
  • Page load: the content script starts at document_start and adds about 2 ms to the load event of a page with 3,000 links (benchmark in Chromium, 20 runs).
  • Scrolling: j and k move the page in the same frame as the key press. A second press reacts in about 2 ms.
  • Link hints: f draws hints for 900 visible targets on a 3,000-link page in about 7 ms.
  • No background work: nothing runs between key presses, and no network, analytics or remote code.

Method and raw numbers: https://github.com/Seigiard/jk-nav/blob/main/docs/bench/README.md

HIGHLIGHTS
  • Added Tab switching with Shift+J / Shift+K alongside the page keys.
  • Keys work in every keyboard layout. They are matched by physical key position, so Russian, German or any other layout behaves like QWERTY, and Caps Lock changes nothing.
  • Typing stays yours: in text fields, text areas, drop-downs, editable content and during IME composition, the keys type text as usual, also inside web components. After you click a button, checkbox or slider, the keys keep working.
  • Link hints that behave: f does nothing on a page with no targets, a wrong first key just closes the hints, and very large pages no longer break hint mode.
  • Smooth scrolling: every j / k step is animated, and holding the key scrolls continuously.
  • Shortcuts with Ctrl, Alt or Meta pass through, so Ctrl+F still opens the find bar.

PRIVACY

jk-nav collects no data, makes no network requests and runs no remote code. Its only API permission is tabGroups, used to skip collapsed tab groups when switching tabs. Privacy policy: https://github.com/Seigiard/jk-nav/blob/main/PRIVACY.md

KNOWN LIMITATIONS
  • Browser pages (about:, the extension stores, built-in PDF viewers) do not allow extensions, so no key works there. A tab switch can still land on one; leave it with the browser's own shortcut.
  • Sites with their own j / k shortcuts (Gmail, GitHub, X) conflict with jk-nav while you are not typing.

ORIGIN

jk-nav is a fork of "Vim-Style Page Navigation" by Johnny Matthews (https://github.com/johnnymatthews/vim-style-page-navigation), published on AMO as "Simple Vim Scrolling". The fork adds tab switching, makes the keys work in every keyboard layout, and fixes scrolling, Ctrl+F and typing detection; the same changes are proposed upstream in https://github.com/johnnymatthews/vim-style-page-navigation/pull/1. Every key of the original keeps its meaning.

Source code: https://github.com/Seigiard/jk-nav (MIT).
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 复制附加组件 ID
版本
1.1.2
大小
18.45 KB
上次更新
22 天前 (2026年11月8日)
相关分类
  • 标签页
许可证
MIT 许可证
隐私政策
阅读此附加组件的隐私政策
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。