Vimium - The Hacker's Browser
Vimium is a Chrome extension that provides keyboard-based navigation and control in the spirit of the Vim editor.
You can install the stable version of Vimium from the Chrome Extensions Gallery.
Please see CONTRIBUTING.md for instructions on how you can install Vimium from source.
The Options page can be reached via a link on the help dialog (hit
?) or via the button next to Vimium on
the Chrome Extensions page (
Modifier keys are specified as
<a-x> for ctrl+x, meta+x, and alt+x
respectively. See the next section for instructions on modifying these bindings.
Navigating the current page:
? show the help dialog for a list of all available keys h scroll left j scroll down k scroll up l scroll right gg scroll to top of the page G scroll to bottom of the page d scroll down half a page u scroll up half a page f open a link in the current tab F open a link in a new tab r reload gs view source i enter insert mode -- all commands will be ignored until you hit esc to exit yy copy the current url to the clipboard yf copy a link url to the clipboard gf cycle forward to the next frame
Navigating to new pages:
o Open URL, bookmark, or history entry O Open URL, bookmark, history entry in a new tab b Open bookmark B Open bookmark in a new tab
/ enter find mode -- type your search query and hit enter to search or esc to cancel See here for advanced usage (regular expressions): https://github.com/philc/vimium/wiki/Find-Mode n cycle forward to the next find match N cycle backward to the previous find match
Navigating your history:
H go back in history L go forward in history
J, gT go one tab left K, gt go one tab right g0 go to the first tab g$ go to the last tab t create tab yt duplicate current tab x close current tab X restore closed tab (i.e. unwind the 'x' command) T search through your open tabs . pin/unpin current tab
Additional advanced browsing commands:
]] Follow the link labeled 'next' or '>'. Helpful for browsing paginated sites. [[ Follow the link labeled 'previous' or '<'. Helpful for browsing paginated sites. <a-f> open multiple links in a new tab gi focus the first (or n-th) text input box on the page gu go up one level in the URL hierarchy gU go up to root of the URL hierarchy zH scroll all the way left zL scroll all the way right
Vimium supports command repetition so, for example, hitting '5t' will open 5 tabs in rapid succession.
<c-[>) will clear any partial commands in the queue and will also exit insert and find modes.
Custom Key Mappings
You may remap or unmap any of the default key bindings in the "Key mappings" section under "Advanced Options" on the options page.
Enter one of the following key mapping commands per line:
map key command: Maps a key to a Vimium command. Overrides Chrome's default behavior (if any).
unmap key: Unmaps a key and restores Chrome's default behavior (if any).
unmapAll: Unmaps all bindings. This is useful if you want to completely wipe Vimium's defaults and start from scratch with your own setup.
map <c-d> scrollPageDownmaps ctrl+d to scrolling the page down. Chrome's default behavior of bringing up a bookmark dialog is suppressed.
map r reloadmaps the r key to reloading the page.
unmap <c-d>removes any mapping for ctrl+d and restores Chrome's default behavior.
unmap rremoves any mapping for the r key.
Available Vimium commands can be found via the "Show Available Commands" link near the key mapping box. The command name appears to the right of the description in parenthesis.
You can add comments to your key mappings by starting a line with
The following special keys are available for mapping:
<m-*>for ctrl, alt, and meta (command on Mac) respectively with any key. Replace
*with the key of choice.
<down>for the arrow keys
<f12>for the function keys
Shifts are automatically detected so, for example,
<c-&> corresponds to ctrl+shift+7 on an English keyboard.
Please see CONTRIBUTING.md for details.
- Add support for recent versions of Chromium.
- Relevancy improvements to the Vomnibar's domain & history search.
- Added gU, which goes to the root of the current URL.
- Added yt, which duplicates the current tab.
- Added W, which moves the current tab to a new window.
- Added marks for saving and jumping to sections of a page. mX to set a mark and `X to return to it.
- Added "LinkHints.activateModeToOpenIncognito", currently an advanced, unbound command.
- Disallowed repeat tab closings, since this causes trouble for many people.
- Update our Chrome APIs so Vimium works on Chrome 28+.
- Added options for search engines and regex find.
- Pressing unmapped keys in hints mode now deactivates the mode.
Onow opens Vomnibar results in a new tab.
Bdoes the same for bookmarks only.
- Add a browser icon to quickly add sites to Vimium's exclude list.
- Restyle options page.
ginow launches a new mode that allows the user to tab through the input elements on the page.
- Select the first result by default in Vomnibar tab and bookmark modes.
- 'b' brings up a bookmark-only Vomnibar.
- Better support for some bookmarklets.
- A bugfix for bookmarklets in Vomnibar.
- A Vomnibar, which allows you to open sites from history, bookmarks, and tabs using Vimium's UI. Type "o" to try it.
- More tweaks to the next / previous link-detection algorithm.
- Minor bug fixes.
- Improve style of link hints, and use fewer characters for hints.
- Add an option to hide the heads up display (HUD). Notably, the HUD obscures Facebook Chat's textbox.
- Detection and following of next / previous links has been improved.
- Addition of g0 and g$ commands, for switching tabs.
- Addition of p/P commands for URL pasting.
- A new find mode which optionally supports case sensitivity and regular expressions.
- Bug fixes.
- Support for image maps in link hints.
- Counts now work with forward & backward navigation.
- Tab & shift-tab to navigate bookmarks dialog.
- An alternate link hints mode: type the title of a link to select it. You can enable it in Vimium's Advanced Preferences.
- Bug fixes.
yfto copy a link hint url to the clipboard.
- Scatter link hints to prevent clustering on dense sites.
- Don't show insert mode notification unless you specifically hit
- Remove zooming functionality now that Chrome does it all natively.
- Support for opening bookmarks (
- Support for contenteditable text boxes.
- Speed improvements and bugfixes.
- Improvements and bugfixes.
<c-f>and related are no longer bound by default. You can rebind them on the options page.
- Faster link hinting.
1.22, 1.23, 1.24, 1.25 (02/10/2011)
- Some sites are now excluded by default.
- View source (
gs) now opens in a new tab.
- Support for browsing paginated sites using
[[to go forward and backward respectively.
- Many of the less-used commands are now marked as "advanced" and hidden in the help dialog by default, so that the core command set is more focused and approachable.
- Improvements to link hinting.
- Critical bugfix for an excluded URLs regression due to frame support.
- In link hints mode, holding down the shift key will now toggle between opening in the current tab and opening in a new tab.
- Two new commands (
zL) to scroll to the left and right edges of the page.
- A new command (
gi) to focus the first (or n-th) text input box on the page.
- A new command (
<a-f>) to open up multiple links at a time in new tabs.
- Frame support.
- More robust support for non-US keyboard layouts.
- Numerous bug fixes.
- A critical bug fix for development channel Chromium.
- Vimium icons for the Chrome extensions panel and other places.
- Vimium now runs on pages with file:/// and ftp:///
- The Options page is now linked from the Help dialog.
- Arrow keys and function keys can now be mapped using <left>, <right>, <up>, <down>, <f1>, <f2>, etc. in the mappings interface.
- There is a new command
guby default) that will go up one level in the URL hierarchy. For example: from http://vimium.github.com/foo/bar to http://vimium.github.com/foo. At the moment,
goUpdoes not support command repetition.
- Bug fixes and optimizations.
- 'u' now restores tabs that were closed by the mouse or with native shortcuts. Tabs are also restored in their prior position.
- New 'unmapAll' command in the key mappings interface to remove all default mappings.
- Link hints are now faster and more reliable.
- Bug fixes.
- Add support for configurable key mappings under Advanced Options.
- A help dialog which shows all currently bound keyboard shortcuts. Type "?" to see it.
- Bug fixes related to key stroke handling.
- Make the CSS used by the link hints configurable. It's under Advanced Options.
- Add a notification linking to the changelog when Vimium is updated in the background.
- Link-hinting performance improvements and bugfixes.
- Ctrl+D and Ctrl+U now scroll by 1/2 page instead of a fixed amount, to mirror Vim's behavior.
- Fixed a bug introduced in 1.13 that prevented excluded URLs from being saved.
<c-b>are now mapped to scroll a full page up or down respectively.
- Bugfixes related to entering insert mode when the page first loads, and when focusing Flash embeds.
- Added command listing to the Options page for easy reference.
- J & K have reversed for tab switching: J goes left and K goes right.
<c-[>is now equivalent to ESC, to match the behavior of VIM.
<c-y>are now mapped to scroll down and up respectively.
- The characters used for link hints are now configurable under Advanced Options.
1.11, 1.12 (01/08/2010)
- Commands 'gt' & 'gT' to move to the next & previous tab.
- Command 'yy' to yank (copy) the current tab's url to the clipboard.
- Better Linux support.
- Fix for Shift+F link hints.
- ESC now clears the keyQueue. So, for example, hitting 'g', 'ESC', 'g' will no longer scroll the page.
- A nicer looking settings page.
- An exclusion list that allows you to define URL patterns for which Vimium will be disabled (e.g. http*://mail.google.com/*).
- Vimium-interpreted keystrokes are no longer sent to the page.
- Better Windows support.
- Various miscellaneous bug fixes and UI improvements.
Copyright (c) 2010 Phil Crosby, Ilya Sukhar. See MIT-LICENSE.txt for details.