Google ChromeでVimプラグイン(vimium)を導入して素早くブラウジングする方法ついてまとめました。
Vimプラグインとは
Google ChromeにおけるVimプラグイン(vimium)とは、その名のとおり高機能エディタVimのショートカット操作をGoogle Chromeでも行えるようにできる拡張機能です。
マウスなしで素早くブラウザ操作ができるため慣れると強力な武器となります。
Vimプラグインのインストール手順
① 以下にURL(chrome web store)からプラグインをインストールします。
https://chrome.google.com/webstore/detail/vimium/
② デフォルトのkey mappingを以下のように変更するのがおすすめです。
設定:chrome-extension://dbepggeogbaibhgnhhndojpepiihcmeb/pages/options.html
map u goBack map U goForward map h previousTab map n normal map o closeOtherTabs map l nextTab map i LinkHints.activateMode map I previousTab map p togglePinTab map g firstTab map ; lastTab
【基本操作】
| コマンド | 動作 |
|---|---|
| k | ページのスクロール(上) |
| j | ページのスクロール(下) |
| h | ページを戻る |
| l | ページを進む |
| gg | Scroll to the top of the page |
| G | Scroll to the bottom of the page |
| , <c-u> | Scroll a half page up |
| d, <c-d> | Scroll a half page down |
| <c-f> | Scroll a full page down |
| <c-b> | Scroll a full page up |
| i | リンクの検索/クリック |
| I, F | リンクの検索/クリック(新規タブ) |
| t | 新規タブ追加 |
| x | タブを閉じる |
| H | タブの移動(左) |
| L | タブの移動(右) |
| b | ブックマーク検索 |
| L | Go forward in history |
| K, gt | Go one tab right |
| J, gT | Go one tab left |
| X | Restore closed tab |
| ? | Show the help dialog |
| f | Open a link in the current tab |
| F | Open a link in a new tab |
| o | Open URL, bookmark, or history entry |
| O | Open URL, bookmark, or history entry in a new tab |
| r | Reload the page |
| gs | View page source |
| / | Enter find mode |
| n | Cycle forward to the next find match |
| N | Cycle backward to the previous find match |
| yy | Copy the current URL to the clipboard |
| gf | Cycle focus to the next frame |
| i | Enter insert mode |

コメント