Keymaps
The following descriptions are the default keymaps.
You can configure keymaps in the add-on’s preferences by navigating to about:addons
and selecting “Extensions”.
In the following descriptions, Ctrl+x means “press x with Ctrl”, and gx means “press g, then press x”. Some commands may be preceded by a decimal number, such as 3d deletes three tabs.
Scrolling
- k: scroll up
- j: scroll down
- h: scroll left
- l: scroll right
- Ctrl+u: scroll up half a page
- Ctrl+d: scroll down half a page
- Ctrl+b: scroll up a page
- Ctrl+f: scroll down a page
- gg: scroll to the top of a page
- G: scroll to the bottom of a page
- 0: scroll to the leftmost part of a page
- $: scroll to the rightmost part of a page
- m: set a mark for the current position
- ': jump to a marked position
Lowercase marks ([a-z]
) store the position of the current tab. Uppercase and
numeric marks ([A-Z0-9]
) store the position and the tab.
Select and manage tabs
- d: delete the current tab and select the tab to its right
- D: delete the current tab and select the tab to its left
- !d: delete a pinned tab
- u: reopen a closed tab
- r: reload the current tab
- R: reload the current tab, bypassing the cache
- K or gT: select the previous tab
- J or gt: select the next tab
- g0: select the first tab
- g$: select the last tab
- Ctrl+6: open the previously-selected tab
- zp: pin the curent tab tab
- zd: duplicate the current tab
Console
- :: open the console
- o, t, w: open a page in the current tab, a new tab, or new window
- O, T, W: similar to o, t, w, but using the current URL
- b: select tabs by URL or title
- a: add the current page to your bookmarks
See the console commands section for a more detailed description.
Zoom
- zi: zoom in
- zo: zoom out
- zz: zoom neutral (reset)
Navigation
- H: go back in history
- L: go forward in history
- [[, ]]: find a link to the previous/next page and open it
- gu: go to the parent directory
- gU: go to the root directory
- gi: focus the first input field
Vimmatic can be configured to follow links opened in tabs in the background
instead of switching to a new tab immediately. To do this, you’ll need to update
the config file: change the "background"
property of the "follow.start"
action to true
, e.g.:
{
"keymaps": {
"F": { "type": "follow.start", "newTab": true, "background": true }
}
}
Hints
Hint mode is a way to follow links or select elements on a page by typing characters. Users can type the sequence of characters to select a hint, or press. Enter selects the hint which is currently typed, and Esc or Ctrl+[ cancels hint mode.
The following keymaps are available in hint mode:
- f: start a quick hint mode to open links in the current tab or select elements
- F: start a quick hint mode to open links in a new tab
- ;i: open an image in the current tab
- ;I: open an image in a new tab
- ;y: copy a link URL to the clipboard
- ;Y: copy a link text to the clipboard
- ;v: open a source URL in the current tab
- ;V: open a source URL in a new tab
- ;o: open a URL in the current tab
- ;t: open a URL in a new tab
- ;w: open a URL in a new window
- ;O: open the console with
:open
and the selected URL - ;T: open the console with
:tabopen
and the selected URL - ;W: open the console with
:winopen
and the selected URL
Misc
- y: copy the URL of the current tab to the clipboard
- p: open the clipboard’s URL in the current tab
- P: open the clipboard’s URL in new tab
- Shift+Esc: enable or disable the add-on in the current tab
- /: start searching for text in the page
- n: find the next search result in the page
- N: find the previous search result in the page
- gf: view the source of the current tab