forked from tmsanrinsha/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimperatorrc
16 lines (13 loc) · 1.06 KB
/
.vimperatorrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" vim:filetype=vim
" google.co.jpではVimperatorを無効にする
"autocmd LocationChange .* js modes.passAllKeys = /google\.co\.jp/.test(buffer.URL)
" デフォルトの検索エンジンはg(Firefoxの検索バーの管理でGoogleのキーワードをgにしているため)
" こう設定しておくと、o キーワードでキーワードをGoogle検索する。o g キーワードでGoogleサジェストを表示させる
"set defsearch=g
" はてなブックマーク
" https://github.com/hatena/hatena-bookmark-xul/wiki/Vimperator-%E3%81%A7%E3%81%AF%E3%81%A6%E3%81%AA%E3%83%96%E3%83%83%E3%82%AF%E3%83%9E%E3%83%BC%E3%82%AF%E6%8B%A1%E5%BC%B5%E3%82%92%E4%BD%BF%E3%81%86
javascript if (typeof hBookmark != 'undefined') liberator.loadScript('chrome://hatenabookmark/content/vimperator/plugin/hatenabookmark.js', {__proto__: this});
set complete+=H
" コマンドモード開始時に自動的にIMEをOFFにする
" http://vimperator.g.hatena.ne.jp/teramako/20090311/1236776437
style -name commandline-ime chrome://* #liberator-commandline-command input {ime-mode: inactive;}