A fork of https://github.com/ueokande/vim-vixen
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.6 KiB
3.6 KiB
title |
---|
Keymaps |
Keymaps
Keymaps are configurable in the add-on's preferences by navigating to about:addons
and selecting "Extensions".
The default mappings are as follows:
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 close 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
- f: follow links in the page in the current tab
- F: follow links in the page in a new tab
- 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
Vim Vixen 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 }
}
}
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