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 |

浙公网安备 33010602011771号