“抄襲了很多片羽君 @1wingedangel 的配置, 加以修改 16:16 2011年1月18日
” vim: set ft=vimperator:
set titlestring=Mozilla\ Firefox
set hintchars=”1234qwerasdfzcxv”
set go=
set showstatuslinks=2
set maxitems=11
set status=input,tabcount,position
hi -a Hint text-transform: uppercase
“General
map c :
map <lt> <C-6>
map U :ju<Return>
map <C-.> :tabm<Return>
let g:ex_ime_mode = “disabled”
“ime inactive in commandline
style http://*,https://* input,textarea {ime-mode: active;}
command cmdimeoff style -name commandline-ime chrome://* #liberator-commandline-command input {ime-mode: inactive;}
command cmdimeon style -name commandline-ime chrome://* #liberator-commandline-command input {ime-mode: active;}
noremap <A-o> :cmdimeoff<CR>
noremap <A-p> :cmdimeon<CR>
“Browse
noremap j 3j
noremap k 3k
noremap J <C-d>
noremap K <C-u>
noremap h gT
noremap l gt
noremap > g$
noremap , <C-o>
noremap . <C-i>
noremap g gg
noremap s <C-c>
noremap <C-n> gB
noremap H <A-Left>
noremap L <A-Right>
noremap <A-r> :open r1<CR>
noremap y Y
noremap Y y
“Move Tabs
noremap Q :tabmove! +1<CR>
noremap W :tabmove! -1<CR>
“Twittperator
noremap <leader>t :tw<space>
noremap <leader>y :tw!
noremap <leader>r :tw<CR>
noremap <leader>a :tw @
noremap <leader>f :tw<space>RT<space>
noremap <leader>R :tw<space><space>RT<space><left><left><left><left>
let g:twittperator_use_chirp = 1
let g:statstat_autorun = “true”
let g:statstat_interval = “400″
let g:twittperator_plugin_twlist_win = 1
let g:twittperator_history_limit = 100
let g:twittperator_screen_name = “beckyeeky”
let g:twittperator_track_words = “vimperator, 貝殼, 贝壳”
“Back&Foward List
map xz :ba<space>
map xc :fo<space>
” Code
noremap ,es :set encoding=Shift_JIS<CR>
noremap ,ec :set encoding=EUC-JP<CR>
noremap ,eu :set encoding=UTF-8<CR>
noremap ,eg :set encodeing=GB2312<CR>
“” GUI Keymaps
map <C-Up> :set go=mT<CR>
map <C-Down> :set go=<CR>
map S :sidebar<space><S-tab>
map V :emenu<space>
map U :u<space><tab><S-tab>
“” Next
set nextpattern=\s*下一页|下一张|下一篇|下页|后页\s*,^\bnext\b,\\bnext\\b,^>$,^(>>|»)$,^(>|»),(>|»)$,\\bmore\\b
set previouspattern=\s*上一页|上一张|上一篇|上页|前页\s*,^\bprev|previous\b,\\bprev|previous\\b,^<$,^(<<|«)$,^(<|«),(<|«)$
“pref
noremap <leader>dd :dialog addons<CR>
noremap <leader>dc :dialog preferences<CR>
“C mode
cnoremap <C-c> <C-v><C-c>
cnoremap <C-v> <C-v><C-v>
cnoremap <C-x> <C-v><C-x>
“I mode
inoremap <C-a> <C-v><C-a>
inoremap <C-c> <C-v><C-c>
inoremap <C-v> <C-v><C-v>
inoremap <C-x> <C-v><C-x>
inoremap <C-z> <C-v><C-z>
inoremap <C-y> <C-v><C-y>
“”Plugins
loadplugins
statstat let ([,,,as]=commands.parseCommand(commandline.command)) as.length
” twicli xhint
command twicliact xh o /html/body/div//div[.]/div[.]/span[3]/a[@class="button popup"]/.
command twiclixrep xh o /html/body/div[@id="rep"]/a[1]/.
command twiclimenu xh o /html/body/div[@id='control']/div[.]/div[.]/a[.]/.
command twiclipop xh o /html/body/div[@id='popup']/a[.]
nnoremap -urls twicli\\.neocat\\.jp f :twicliact<CR>
nnoremap -urls twicli\\.neocat\\.jp F :twiclipop<CR>
nnoremap -urls twicli\\.neocat\\.jp d :twiclimenu<CR>
nnoremap -urls twicli\\.neocat\\.jp z :twiclixrep<CR>
“feedsomekey
command! -nargs=+ lazy autocmd VimperatorEnter .* <args>
command! -nargs=+ lazyfmapsgooglereader lazy fmaps -urls=’www\.google\.com/reader’ -events=vkeypress <args>
lazyfmapsgooglereader j k J K <Space> <S-Space> n m,p N P X O s D v gh ga gs gS gu gt gT gd gf gF gc ge gp r u 1 2 / a t T A o f c S 1 2
lazy fmaps -u=’.*twicli\.html’ -events=vkeydown n,j m,k x tt,m s,f o,i u r,e p R,r w,q b,d v,o T,t 1 2 3 4 5 6 7 8
lazy fmaps -u=’twitter\.com/’ -events=vkeypress r t f
lazy fmaps -u=’twitter\.com/’ -events=vkeydown m n gf gr gp gh gm gu r t f
lazy fmaps -u=’twitter\.com/’ j k / . ?
lazy fmaps -u=’^https?://mail\.google\.com/(mail|a)/’ c / j k n m,p o u x s r a # l U I [ ] N z ? gi gs gt gd ga gc gb gk gl *a *n *r *u *s *t y e
lazy js document.getElementById(“liberator-multiline-output”).parentNode.maxHeight=content.innerHeight/2 + “px”
lazy js document.getElementById(“liberator-completions”).parentNode.maxHeight=content.innerHeight/2 + “px”
lazy hi CompResult -a -moz-binding: url(chrome://liberator/content/bindings.xml#compitem-td);
lazy hi CompDesc -a -moz-binding: url(chrome://liberator/content/bindings.xml#compitem-td);
“asdfghjkl;
let g:asdfghjkl_hintchars = “vcxzdsaewq”
let g:asdfghjkl_mode_change_key = “<C-c>”
“配色方案
“colorscheme zenburn
silent colorscheme wa-sweets
“highlight StatusLine color:#bf783a; background:#d6c6af; //琥珀 亚麻
“highlight CmdLine color:##fcfaf5; background:#fef4f4; // 樱



吐槽待斩