To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!Close
Welcome to Firefox Add-ons.
Choose from thousands of extra features and styles to make Firefox your own.Close
About this Add-on
VimFx is a Firefox extension which adds short, Vim-style keyboard shortcuts for browsing and navigation, for a near mouseless experience.
- Doesn’t change your browser in any way. Everything can be disabled.
- Easy for beginners, powerful for advanced users. Not just for Vim fanatics.
- Modeled after Vimium for Chrome.
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.
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.
VimFx has concise shortcuts for most commonly performed actions. Many simply invoke standard Firefox features. That is preferred over re-implementing similar functionality.
fto 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.
/and cycle between matches with
Open a new tab with
t, close it with
x. Reopen it again with
X. Switch between tabs with
K, or some of the several other tab commands.
Half a page:
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
ito enter it, and
shift-escapeto 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.
Enjoying VimFx? Write a review!
Found a bug? Report it in the issue tracker!
New feature: Hint markers can now be filtered by element text, similar to Vimium, Vimperator and Pentadactyl. This is useful for people who simply prefer that workflow, and for clicking tiny pagination links (simply type its number!).
By default, filtering by element text is done by typing uppercase characters (hold down shift!). All characters other than the hint characters are now used to filter hint markers by element text (rather than just being ignored). Do you prefer filtering by element text, but dislike typing uppercase letters? Have a look at how hint characters work to make things the other way around!
The markers with the best hint are now highlighted with a different color. You may at any time press
<enter>to activate those markers (or
<a-enter>to change where and how to open links, just like you can hold ctrl or alt for the last hint character).
Because of the above new features, the following default Hints mode shortcuts had to be changed:
<s-space>is left untouched)
<c-s->(hold ctrl and shift to peek through hint markers)
Other hint marker improvements:
- Hint markers are now 20% smaller by default. While trying to match text sizes set by your operating system, they ended up a bit too large on most systems. Check out the Styling documentation if you’d like to change the font size.
- Hint markers now have stronger contrast between the background color and the text color, which should make them easier to read.
- The CSS for hint markers have been improved, making it easier to use custom Styling.
- When several elements have the same area, the best hint is now correctly given to the first of those elements. Previously, it happened to be the other way around.
- The hint marker for a smaller element can no longer cover the hint marker for a larger element (unless you press
<c-space>to rotate them).
- Hint markers are now better positioned when having zoomed the page in or out.
- Hints mode is now more robust in general. Several race conditions have been fixed.
- Added: The ability to export, import and reset all VimFx options. There are three shiny new buttons for this in VimFx’s options page in the Add-ons Manager!
- Added: The
gBcommand, which lets you quickly blacklist (and un-blacklist) sites.
- Added: The
eccommand, for opening the context menu of elements.
- Added: The
epcommand, for opening links in new private windows.
know feel more like scrolling with the arrow keys when held down, by boosting the scrolling speed. See the
scroll.vertical_boostoptions for more information.
- Fixed: VimFx’s find bar integration is now much more robust. Most notably, if you start typing directly after pressing
/and Firefox is slow at opening the find bar, your keypresses can no longer trigger VimFx commands or Firefox built-in commands.
- Improved: VimFx no longer leaks keypresses to the web page in some modes. (For example, counts in Caret mode).
- Improved: The
ebcommand now finds more clickable elements in the devtools.
vimfx.addKeyOverridesno longer lets you easily break for example Hints mode, by now only being applied to Normal mode. You might need to change your matchers from
(location, mode) => ...to simply
location => .... (Breaking API change.)
- Changed: The object passed to custom commands (and custom modes) no longer contains a
uiEventproperty. Instead, there’s an
eventproperty. This property can be used the same way if you check
vim.isUIEvent(event)first. (Breaking API change.)