Vimperator是Firefox的一个
addon,可以像使用Vim一样来使用浏览器。
以下是一些命令的备忘
CTRL-Z
Disable all Vimperator keys except <Esc> and pass them to the next event handler.
If you also need to pass <Esc> in this mode to the web page, prepend it with <C-v>.
CTRL-V
If you only need to pass a single key to a JavaScript form field or another extension prefix the key with <C-v>.
When Vimperator mode is temporarily disabled with <C-z>, <C-v> will pass the next key to Vimperator instead of the web page.
Opened with the specified search engine if the token looks like a search string and the first word is the name of a search engine.
The short name of a search engine is automatically guessed from its name. If you want to set a custom name, you can change it with :dialog searchengines.
T Works like t but preselects current URL in the :tabopen query.
:tabd[uplicate]
Duplicates current tab.
:wino[pen]
Just like :tabopen but opens the resulting web page(s) in a new window.
p
Open (put) a URL based on the current clipboard contents in the current buffer.
P
Open (put) a URL based on the current clipboard contents in a new buffer. Works like p but opens a new tab.
:ju[mps]
List all jumps aka current tab's history aka session history.
r
Force reloading of the current page.
R
Force reloading of the current page skipping the cache.
<C-c>
Stop loading the current web page.
ZQ
Quit and don't save the session.
ZZ
Quit and save the session.
g<C-g>
Print file information.
[count]gi
Focus last used input field. If there is no last input field, it focuses the first input field. When used with [count] it directly jumps to the [count]th input field.
zz
Set full zoom value of current web page. Zoom value can be between 30 and 300%. If it is omitted, full zoom is reset to 100%.
/{pattern}[/]<CR>
If "\c" appears anywhere in the pattern the whole pattern is handled as though 'ignorecase' is on. "\C" forces case-sensitive matching for the whole pattern.
:noh[lsearch]
Remove the search highlighting.
:buffers [filter]
B
Show a list of buffers (=tabs) matching [filter]. Without [filter] list all tabs.
:tab {cmd}
Execute {cmd} and tell it to output in a new tab. Works only for commands that support it, currently:
:tab help
:tab prefs[!]
:tab addons
:tab downloads
g0
Switch to the first tab.
g$
Switch to the last tab.
u
Undo closing of a tab.
ExtendedHint mode
{mode} can be one of:
;; to focus a link and hover it with the mouse
;? to show information about the element (incomplete)
;s to save its destination
;a to save its destination (prompting for save location)
;f to focus a frame
;F to follow a sequence of <CR>-delimited hints in background tabs
;y to yank its destination location
;Y to yank its text description
:bma[rk]
Add a bookmark.
:bmarks [filter]
List or open multiple bookmarks. Open the message window at the bottom of the screen with all bookmarks which match [filter] either in the title or URL.
m{a-zA-Z}
Set mark at the cursor position. Marks a-z are local to the buffer, whereas A-Z are valid between buffers.
'{a-zA-Z}
Jump to the mark in the current buffer. Marks a-z are local to the buffer, whereas A-Z are valid between buffers.
:marks
Show all location marks of the current web page.
q{0-9a-zA-Z}
Record a key sequence into a macro. Available macros are {0-9a-zA-Z} (uppercase to append). Type q to stop recording.
:mac[ros] [pat]
List recorded macros matching the optional regular expression [pat]. If no regexp is given, list all macros.
:dialog printpreview
<C-a>
Increment last number in URL
<C-x>
Decrement last number in URL
0
Scroll to the absolute left of the document
$
Scroll to the absolute right of the document
gU
Go to the root of the website
:messages
Display previously given messages
:restart
Force the browser to restart
:se[t] all
Show all options.