首页 > 系统服务 > 详细

Chrome插件Vimium,浏览器中添加vim形式的操作

时间:2016-03-20 00:23:43      阅读:282      评论:0      收藏:0      [点我收藏+]

对于体验过vim和强大的vim插件的人来说,减少右手(左撇子?)在鼠标和键盘间来回换是自然而然想到的事情。推荐这个插件:vimium https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb?hl=zh-CN

使用 ? (即Shift+/) 调出 Vimium Help,简直就是vim版Chrome。

高频率常用操作:

h,j,k,l (上下左右滚动 )

H,L (后退、前进)

gg, G (页首、页尾)

J, K (左右切换标签,美中不足的是在第一个和最后一个标签时无效)

x,X,t,yt (关闭当前标签、恢复上一个标签、新建一个标签、新建并复制当前标签)

    Navigating the page
j, <c-e> : Scroll down
k, <c-y> : Scroll up
h : Scroll left
l : Scroll right
gg : Scroll to the top of the page
G : Scroll to the bottom of the page
d : Scroll a page down
u : Scroll a page up
r : Reload the page
gs : View page source
yy : Copy the current URL to the clipboard
yf : Copy a link URL to the clipboard
p : Open the clipboard‘s URL in the current tab
P : Open the clipboard‘s URL in a new tab
i : Enter insert mode
v : Enter visual mode
V : Enter visual line mode
f : Open a link in the current tab
F : Open a link in a new tab
gf : Cycle forward to the next frame on the page
gF : Select the tab‘s main/top frame
    Using the vomnibar
o : Open URL, bookmark, or history entry
O : Open URL, bookmark, history entry, in a new tab
T : Search through your open tabs
b : Open a bookmark
B : Open a bookmark in a new tab
    Using find
/ : Enter find mode
n : Cycle forward to the next find match
N : Cycle backward to the previous find match
    Navigating history
H : Go back in history
L : Go forward in history
    Manipulating tabs
K, gt : Go one tab right
J, gT : Go one tab left
g0 : Go to the first tab
g$ : Go to the last tab
t : Create new tab
yt : Duplicate current tab
x : Close current tab
X : Restore closed tab
<a-p> : Pin/unpin current tab

 

Chrome插件Vimium,浏览器中添加vim形式的操作

原文:http://www.cnblogs.com/xdargs/p/5296715.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!