1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

僕のVimiumとJK shortcuts navigatorの設定

Last updated at Posted at 2018-11-14

メモ

##よく使うキーバインド
下の設定をすれば以下の機能が使える
######jk shortcuts selectorの機能
j k google検索結果のリンク選択

######vimiumの機能
? ヘルプ表示
g ページ一番上
G ページ一番下
h l 戻る、進む
f 表示画面内のテキストボックスにフォーカス(Tabで選択可)
m , 上下にスクロール
x タブを閉じる
X 最後に閉じたタブを復元
yt タブを複製
p クリップボードの内容を検索
P 新しいタブでクリップボードの内容を検索
o 検索ダイアログを表示、Enterで検索
O 新しいタブで検索ダイアログを表示
b ブックマーク検索ダイアログを表示
i リンクヒントを表示、キー入力でページ遷移

##Vimium

Custom key mappings

# Insert your preferred key mappings here.
unmap j
unmap k
unmap /
map m scrollDown
map , scrollUp
map h goBack
map l goForward
map f focusInput
map g scrollToTop
map i LinkHints.activateMode
map I LinkHints.activateModeToOpenInNewTab
map <c-f> scrollFullPageDown
map <c-b> scrollFullPageUp

Custom search engines

g: http://www.google.com/search?q=%s Google
y: http://www.youtube.com/results?search_query=%s Youtube
gm: https://www.google.com/maps?q=%s Google maps
a: http://www.amazon.co.jp/s/?field-keywords=%s Amazon
t: https://translate.google.com/#en/ja/%s Google translate
tw: https://twitter.com/search?vertical=default&q=%s Twitter
q: https://qiita.com/search?q=%s Qiita
qs: https://qiita.com/search?stocked=1&q=%s Qiita stock
gp: http://www.google.co.jp/search?hl=ja&source=hp&q=%s&tbm=isch Google image
p: http://www.google.co.jp/search?hl=ja&source=hp&q=%s&tbm=isch Google image

##JK Shortcuts Navigator

とりあえずgoogleのみ

{
    "selectors": [
        "div#rso>div.g>div.rc>div.r>a:nth(*)"
    ],
    "allowSubdomains": false,
    "search_selector": "#rso",
    "paginator_selector_next": "a#pnnext.pn",
    "paginator_selector_prev": "a#pnprev.pn",
    "liveUpdateElement": "#main"
}

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?