Chrome插件Vimium,瀏覽器中添加vim形式的操做

對於體驗過vim和強大的vim插件的人來講,想着減小右手(左撇子?)在鼠標和鍵盤間來回換是天然而然的事,使用鍵盤來翻動確實體驗性很好。推薦這個插件:vimium https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb?hl=zh-CNweb

vimium默認對本地文件不生效,打開方法:更多工具-擴展程序-勾選vimium中的「容許訪問文件網址」chrome

 

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

高頻率經常使用操做:工具

h,j,k,l (上下左右滾動 )google

H,L (後退、前進)spa

gg, G (頁首、頁尾)插件

J, K (左右切換標籤)blog

x,X,t,yt (關閉當前標籤、恢復上一個標籤、新建一個標籤、新建並複製當前標籤)ip

    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
相關文章
相關標籤/搜索