Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
smooth vi 预览

smooth vi 作者: Karl Felix Schewe

Simple and smooth vi mode for viewing web pages

0 (0 reviews)0 (0 reviews)
1 个用户1 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
This extension for Firefox provides a minimal vi mode for viewing web pages that requires no configuration to minimize conflicting keybindings. vi mode is activated by pressing (Esc), similar to the way you can switch to normal mode in vi to navigate a file. In vi mode, you can scroll using the traditional vi keybindings. The movement is smooth and accelerates as you hold down a key. This is similar to the default behaviour of the arrow keys in Firefox.

The uniqueness of this approach is that any other unbound key, mouse click or touch input will deactivate vi mode, so you're unlikely to run into the problem of having to create individual configurations for many web pages (in fact, you can't). It does provide a nice way of reading web pages with a comfortable keyboard layout, without having to use the arrow keys, touchpad or mouse very often.

Additional features:
* vi mode status indicator for toolbar
* Scrolling speed and acceleration settings

Keybindings


(Esc) Activate vi mode
(h) Move left
(j) Move down
(k) Move up
(l) Move right
(g) Move to the top of the page
(G) Move to the bottom of the page
(i) Deactivate vi mode

Any other key, with the exception of (Shift),
deactivates vi mode again.


The interesting detail here is that under the hood, events for keys other than those specified above from (h) to (i) are not captured. This means, for example, that you can type (t) on GitHub in vi mode to get to the search bar and at the same time disable vi mode to search for a file.

Note that add-ons are disabled on sites for managing Firefox settings and add-ons.

Limitations

It will conflict with dedicated vi or Vim (vi improved) emulations for editing text on web pages, because with those implementations (Esc) is probably used to enter command mode to move the cursor with hjkl inside a text field. On the contrary, this add-on uses (Esc) to enter a mode for moving the viewport of the web page.

On pages that bind an action to (Esc), the functionality of the page is usually not restricted, because vi mode will only be briefly active and can be immediately disabled by following (i).

GitHub repository

GPL-3.0 license
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据详细了解

必要权限:

  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 主页
  • 用户支持网站
版本
1.5
大小
40.2 KB
上次更新
10 个月前 (2024年11月2日)
相关分类
  • 其他
许可证
仅 GNU 宽通用公共许可证 v3.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
1.5 的发布说明
Faster add-on initialization on new pages
Karl Felix Schewe 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

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