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)
2 Users2 Users
必須使用 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
由 1 位評論者給出 0 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
0
4
0
3
0
2
0
1
0
還沒有評論
權限與資料了解更多

必要權限:

  • 存取您所有網站中的資料
更多資訊
附加元件網址
  • 首頁
  • 技術支援網站
版本
1.5
大小
40.2 KB
最近更新
10 個月前 (2024年11月2日)
相關分類
  • 其它
授權條款
僅 GNU Lesser General Public License v3.0
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
1.5 版的發行公告
Faster add-on initialization on new pages
Karl Felix Schewe 製作的更多擴充套件
  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

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

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。