]> git.gir.st - VimFx.git/summary
 
descriptionVim keyboard shortcuts for Firefox (downstream repository)
last changeSat, 13 Apr 2024 10:02:29 +0000 (12:02 +0200)
readme

VimFx – Vim keyboard shortcuts for Firefox

Note: VimFx is a legacy extension for Firefox 115+, requiring the LegacyFox shim (see below).


VimFx is a Firefox extension which adds short, Vim-style keyboard shortcuts for browsing and navigation, for a near mouseless experience.

New to VimFx? Check out Questions & Answers!
Power user? Make a config file!
In either case, have look at the the documentation and the wiki.

VimFx is made by these awesome people.

Installation Instructions

Before installing VimFx, make sure LegacyFox is installed. On Linux, you can issue the commands below; on other operating systems, you can copy the files from the LegacyFox repository into your Firefox installation directory.

git clone https://git.gir.st/LegacyFox.git 
cd LegacyFox
sudo make install  # set DESTDIR= for custom install location

Why VimFx was created

Even before Vimium there was Vimperator for Firefox. In my opinion, Vimperator has too many features and aggressively changes the default Firefox appearance and behavior. Vimium is exactly what I need in terms of added functionality, but for Chrome. That’s why I decided to develop a similar extension for Firefox.

 VimFx will be nice to your browser and to your habits. Promise.

Anton Khodakivskiy, VimFx’s original author.

Key Features

VimFx has concise shortcuts for most commonly performed actions. Many simply invoke standard Firefox features. That is preferred over re-implementing similar functionality.

Press f to mark links, text inputs and buttons on the page. Then either type the hint or the text of a marked element to click it. This command has many variations, for example to copy links or open them in new tabs.

Search with / and cycle between matches with n and N.

Open a new tab with t, close it with x. Reopen it again with X. Switch between tabs with J and K, or some of the several other tab commands.

Scrolling left/down/up/right: h, j, k, l.
Top/Bottom: gg, G.
Page up/down: space, shift-space.
Half a page: d, u.

Use Caret mode to copy text without using the mouse.

There are of course many more shortcuts! Press ? to see them all, and then / to search among them. Click on a command or open VimFx’s options page in the Add-ons Manager to customize the default shortcuts.

You can temporarily disable VimFx by using Ignore mode. Press i to enter it, and shift-escape to exit. Use the blacklist to automatically enter Ignore mode on specific sites.

There’s also an article on ghacks.net which is a good introduction.

Alternatives

If you’re looking for a WebExtension replacement for VimFx, check out these extensions:

shortlog
5 days ago girstVimFx v0.27.1 master v0.27.1
5 days ago girstfix 'H', 'L', 't', 'T', 'r', 'R', 's', 'gh' in mozilla126
2024-03-16 girstVimFx v0.27.0 v0.27.0
2024-03-16 girstfix linting error
2024-03-08 girstupdate external documentation hyperlinks
2024-03-08 girstpopulate more data in contentAreaClick
2024-03-03 girstimprove contentAreaClick
2024-03-03 girstremove workarounds for legacy browsers
2024-03-03 girstport to ESMs and set minimum firefox version to 115
2024-02-25 girstdisplay documentation URL in browser console warnings
2024-02-25 girststop relying on AddonManager.jsm for retrieving homepageURL
2023-08-29 girstdocument BFcache workaround, webIsolationStrat bug
2023-08-29 girst(half/full) page scrolling: don't take position:absolut...
2023-07-14 girstVimFx v0.26.4 v0.26.4
2023-07-14 girstuse backwards compatible way to load Services.jsm if...
2023-07-02 girstVimFx v0.26.3 v0.26.3
...
tags
5 days ago v0.27.1 VimFx v0.27.1
4 weeks ago v0.27.0 VimFx v0.27.0
9 months ago v0.26.4 VimFx v0.26.4
9 months ago v0.26.3 VimFx v0.26.3
10 months ago v0.26.2 VimFx v0.26.2
10 months ago v0.26.1
10 months ago v0.26.0
17 months ago v0.25.0
23 months ago v0.24.7
2 years ago v0.24.6
2 years ago v0.24.5
3 years ago v0.24.4
3 years ago v0.24.3
3 years ago v0.24.2
3 years ago v0.24.1
3 years ago v0.24.0
...
heads
5 days ago master
3 years ago local-docs
3 years ago fission-v2
3 years ago fission-dont-crash
4 years ago workarounds-v2
4 years ago workarounds-v1
Imprint / Impressum