Before been used cVim, and Vimium function is similar, but not after the update, so he moved to Vimium.
Brief introduction
Official website: http://vimium.github.io/
Vimium is an extension of Google Chrome browser, which provides keyboard shortcuts for navigating Vim editor and control.
Feature
- Full keyboard browser, you can abandon the mouse;
- Use eye-catching display method to browse links;
- Customizable keyboard shortcuts;
- Has helped shortcut, enter into the page in the page
?
can be shortcuts help.
installation
Chrome App Store search Vimium download can be installed.
View Help
Enter in the page ?
you can view the help, input back to the original page again.
Note : As with Vim commands are case-sensitive.
More advanced commands
Common Operations
Note : With Vim as Esc
an exit command mode.
Fast Open
hot key | Explanation |
---|---|
o |
The current tab to open the URL, bookmark or history page |
O |
The new tab open the URL, bookmark or history page |
b |
The current tab to open the bookmark |
B |
The new tab is opened bookmark |
T |
Search the currently open tabs |
Label operation
hot key | Explanation |
---|---|
t |
Create a tab |
J ,gT |
Switch to the left of the tab |
K ,gt |
Switch to the left of the tab |
^ |
Switch to the previous tab, click again to switch each other |
g0 |
Switch to the first tab |
g$ |
Switch to the last tab |
yt |
Copy the current tab |
x |
Close current tab |
X |
Restore closed tabs |
Page Actions
hot key | Explanation |
---|---|
f |
Open link in the current tab |
F |
Open link in new tab |
j |
Move Downward |
k |
Move up |
h |
move to the left |
l |
move to the right |
d |
Turned down a half page |
u |
Turn up half a page |
gg |
Move to the top of the page |
G |
Move to the bottom of the page |
L |
Browse history forward |
H |
Back browsing history |
r |
refresh page |
yy |
Copy the URL in your browser address bar |
p |
Read the contents of the clipboard and paste it into the address bar search, and open in the current tab |
P |
Read the contents of the clipboard and paste it into the address bar search, and opens in a new tab |
i |
Switches to the input mode |
v |
Switching to the view mode |
gi |
Position the cursor to the first input box |
Search page
hot key | Explanation |
---|---|
/ |
Search mode |
n |
Cycling down search keywords |
N |
Keyword search upward cycle |
Custom Configuration
The following is my custom settings, you can refer to.
Custom keyboard shortcuts
My personal operating habits: link to the new tab is opened.
# 修改快捷键 f 为新页签后台打开
unmap f
map f LinkHints.activateModeToOpenInNewTab
Show available commands 为所有的快捷键和对应功能代码。
自定义直达网站
自定义快速直达网站。
# 一键直达网站
# 今日头条
map zt createTab https://www.toutiao.com/c/user/6973555764/#mid=1660416476789771
# 简书
map zs createTab https://www.jianshu.com/u/aa29f3eacc01
# csdn
map zc createTab https://blog.csdn.net/jlh21
# 博客园
map zb createTab https://www.cnblogs.com/daodaotest/
# 个人博客
map zj createTab https://jiangliheng.github.io/
自定义搜索引擎
b: https://www.baidu.com/s?wd=%s baidu
g: https://www.google.com/search?q=%s google
gh: https://github.com/search?q={query} github
s: https://www.stackoverflow.com/search?q={query} stackoverflow
m: http://www.mvnrepository.com/search?q={query} mvnrepository
w: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia
z: https://www.zhihu.com/search?type=content&q=%s zhihu
修改默认搜索引擎
https://www.baidu.com/s?wd=