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

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

vimium默认对本地文件不生效,打开方法:更多工具-扩展程序-勾选vimium中的“允许访问文件网址”

 

使用 ? (即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

 

转载于:https://www.cnblogs.com/xdargs/p/5296715.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值