Vimperator 2.0にバージョンアップメモ。

Vimperator 2.0がリリースされたのでバージョンアップしました。

Vimperator


ほぼイきかけました。


より快速、快適になりました。
ついでにPluginも整理して、使うものだけにしました。
Plugin, Vimperator, colorscheme をメモ。


_vimperatorrc

" ブラウザタイトルの変更
" set titlestring=Vimperator 2.0

" ビープ音を鳴らさずビジュアルベルを使用
set visualbell

" コマンドを補完
" 補完すると動作おそいのでやめた〜
" set wildoptions=auto

" ツールバーは基本なし、スクロールバーあればいいや
set guioptions=r

" :open / :topen 時のURL補完にSmartlocationbarの結果を利用する
set complete=l

" ページの移動時にtwitterとかのフォームにフォーカスされないようにする
set focuscontent



" ---------------------------------------------------------------
" maping
" ---------------------------------------------------------------

" 選択文字列をクリップボードへにコピー
map <C-c> Y


" 選択文字列のgoogle検索を <C-g> に割り当て
map <C-g> YP

" j/k でのスクロール幅を 1行 から 8行 に変更
map j 8<C-e>
map k 8<C-y>

" Bckspace を「上のディレクトリに移動」に割り当て
map <BS> gu

" h/l に戻るや進むを割り当て
map h <A-Left>
map l <A-Right>

" J/Kでタブ移動
map H gT
map L gt

" Shift + ↑↓でタブ位置変更
map <S-Right> :tabmove! +1<CR>
map <S-Left>  :tabmove! -1<CR>

"<C-r>で再起動
map <C-r> :restart<CR>



" ---------------------------------------------------------------
" color
" ---------------------------------------------------------------
colorscheme bigchu



" ---------------------------------------------------------------
" plugin
" ---------------------------------------------------------------
" ----- direct_bookmark.js
let g:direct_sbm_use_services_by_post = 'h'
let g:direct_sbm_use_services_by_tag = 'h'


" ----- feedSomeKeys_2.js
autocmd LocationChange .* :fmapc

" LDR
js <<EOF
autocommands.add('LocationChange',/reader\.livedoor\.com\/reader\//,
    'js plugins.feedKey.setup("j k s a p v c <Space> <S-Space> z Z < > q w b i".split(/ +/));');
EOF

" RTM
js <<EOF
autocommands.add('LocationChange',/rememberthemilk\.com\//*,
    'js plugins.feedKey.setup("t c d g s u l y r z a n j k i h m 1 2 3 4 <Delete>".split(/ +/));');
EOF

あちこち見て参考にして書きました。
ぃぁ〜direct_bookmark.js便利すぎ。

colorscheme | bigchu.vimp

" Vimperator Color Scheme
" bigchu
" ORE SENYO

hi Hint         font-family: Consolas; font-size: 14px; font-weight: normal; color: #f4f4f4; background-color: #000; border-color: #ccc; border-width: 0px; border-style: solid; padding: 0px 5px;

hi HintElem     background-color: #96D3D4; color: #000;
hi HintActive   background-color: #218386; color: #fff;

hi StatusLine   color: #f4f4f4; background: #000; font-weight: normal; font-size: 11px;

hi Normal       color: #f4f4f4; background: #28292D; font-size: 11px; font-family: Consolas;
hi InfoMsg      color: #f4f4f4; background: #28292D; font-size: 11px; font-family: Consolas;
hi ModeMsg      color: #f4f4f4; background: #28292D; font-size: 11px; font-family: Consolas;
hi MoreMsg      color: #f4f4f4; background: #28292D; font-family: Consolas;
hi LineNr       color: #218386; background: #28292D; font-size: 11px; font-family: Consolas;
hi Question     color: #FFAF03; background: #28292D; font-size: 11px; font-family: Consolas;
hi WarningMsg   color: #218386; background: #28292D; font-size: 11px; font-family: Consolas;
hi NonText      background: #000;
hi Null         color: #15C4C8;
hi Tag          color: #15C4C8;

hi CompTitle    color: #ABD31B; background: #000; font-weight: bold;
hi CompItem[selected] color: #ABD31B; background: #000;
hi CompDesc color: #15C4C8;
hi GradientRight background-color: #000;

hi Title        color: #fff;
hi Indicator    color: #15C4C8;
hi String       color: #218386;
hi Number       color: #218386;
hi Object       color: #218386;
hi Function     color: #15C4C8;
hi URL          color: #ABD31B;

hi TabNumber    color: white; font-weight: bold; font-size: 11px; font-family: Consolas;


style -name tab chrome://* <<EOM

#content {
    background-color: #000;
    /* position: absolute; */
    /* top: 100px; */
    /* left: 100px; */
}

/* tabbar */
.tabs-alltabs-button {
    margin: 0 !important;
    padding: 0 !important;
}

/* remove tab selection menu */
.tabs-container > stack {
    display: none;
}

/*.tabs-container .box-inherit.scrollbox-innerbox {
    /* border-bottom: 1px solid #404040; */
}

/* tab bar position: top */
.tabs-container scrollbox {
    background-color: #000;
    /* border-bottom: 1px solid #000; */
}

.tabbrowser-tab {
    -moz-apperance: none !important;
    margin: 0 !important;
    padding: 4px 6px !important;
    -moz-border-radius-topleft: 0 !important;
    -moz-border-radius-topright: 0 !important;
    -moz-border-radius-bottomright: 0 !important;
    -moz-border-radius-bottomleft: 0 !important;
    /* border-bottom: 1px solid #000 !important; */
    border: none !important;
    background-image: none !important;
    background-color: #000 !important;
    font-family: Consolas;
    font-size: 12px;
    font-weight: normal;
    text-align: left !important;
    color: #f2f2f2 !important;
}
.tabbrowser-tab[selected=false] {
    background: #000 !important;
    color: #f2f2f2 !important;
}
.tabbrowser-tab[selected=true] {
    background-color: #218386 !important;
}
.tabbrowser-tab[selected=true] .tab-text {
    color: #fff !important;
}
.tab-icon-image {
    /* margin-bottom: -3px;*/
    /* display: none; */
    margin-top: -2px;
    width: 12px !important;
    height: 12px !important;
}
.tab-image-left,
.tab-image-middle,
.tab-image-right {
    background-image: none !important;
}
EOM



style -name statusbar chrome://* <<EOM

#status-bar statusbarpanel {
    padding: 0 1px !important;
}
statusbarpanel > * {
    margin: 0 !important;
    padding: 0 !important;
}
EOM