vimperator配置

vimperator配置


set guioptions-=T
set runtimepath=/home/binku/.vimperator source! /home/binku/.vimperatorrc.local
" vim: set ft=vimperator:

set titlestring=Mozilla Firefox(Vimperatorrc)

"next page and previous page
set nextpattern=\s*下一页|下一张|下页\s*,\bnext\b,^>$,^(>>|»)$,^(>|»),(>|»)$,\bmore\b
set previouspattern=\s*上一页|上一张|上页\s*,\bprev|previous\b,^<$,^(<<|«)$,^(<|«),(<|«)$

"Ctrl+C = copy
cnoremap <C-c> <C-v><C-c> "c:control mode nore:no repley
inoremap <C-c> <C-v><C-c> "i:insert mode
noremap  <C-c> <C-v><C-c>

"Ctrl+v = paste
cnoremap <C-v> <C-v><C-v>
inoremap <C-v> <C-v><C-v>

"go and back
map G <C-o>
map H <C-i>

"next tab and previous tab
map F gT
map J gt

"close firefox and remember current tabs
map W ZZ

"open delicious's save bookmarks window
map D <C-v><C-d>
"open delicious's search bookmarks window
map B <C-v><C-b>

"view page source code
map K gf

"open and close toolbar
command nt set guioptions-=T
command yt set guioptions+=T

"auto into PASS THOUGH model in google reader page
autocmd LocationChange .* js modes.passAllKeys = /.*(www\.google\.com\/reader).*/.test(buffer.URL

你可能感兴趣的:(C++,c,C#,vim,firefox)