Vimium 其实就是 Vim 与 Chromium 的复合词,这款扩展基于 Vim 编辑器的键位设计,使用 Vim 的用户很容易就能上手。即使你非常不习惯默认的键位映射,也可以自行通过扩展设定进行修改,甚至还可以设定链接提示所用的字符和CSS样式。
对于网页上的链接,Vimium 会为每个链接指定一个独立的快捷键组合,也就是说每一个页面上的每一个链接都可以通过程序自动生成的组合键打开。查看链接的组合键,只需要按 f 键即可。
按 f 键之后,每个链接上都出现了一个组合键,此时再按 A—G,就可以打开发帖对话框。值得一提的是,按下 A之后,就会自动将其它首组合键不是 A 的提示过滤掉,以保证页面的整洁。如果在某些功能操作上,不知道应该使用哪个快捷键的话,可以直接按 ? 键调出帮助框。
Modifier keys are specified as follows: <c-x>, <m-x>, <a-x> for ctrl+x, meta+x, and alt+x respectively.
Navigating the current page:
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
<c-d>, <c-e> scroll down a page
<c-u>, <c-y> scroll up a page
<c-f> scroll down a full page
<c-b> scroll up a full page
f activate link hints mode to open in current tab
F activate link hints mode to open in new tab
r reload
gf view source
zi zoom in
zo zoom out
/ enter find mode -- type your search query and hit enter to search or esc to cancel
n cycle forward to the next find match
N cycle backward to the previous find match
i enter insert mode -- all commands will be ignored until you hit esc to exit
y copy the current url to the clipboard
Navigating your history:
H go back in history
L go forward in history
Manipulating tabs:
J, gT go one tab left
K, gt go one tab right
t create tab
d close current tab
u restore closed tab (i.e. unwind the 'd' command)
Vimium supports command repetition so, for example, hitting '5t' will open 5 tabs in rapid succession. Keys can be remapped to different commands under Options.