Changeset 15037

Show
Ignore:
Timestamp:
07/02/08 13:08:37 (3 months ago)
Author:
otsune
Message:

* some update for trunk

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dotfiles/vimperator/otsune-vimperatorrc

    r13990 r15037  
    33" Mappings 
    44 
     5echo "loading..." 
    56" css 
    6 map ! :set invum<CR> 
     7"map ! :set invum<CR> 
    78 
    89" set mark-a, jump mark-a 
     
    2526 
    2627" move current tab left/right 
    27 map <S-Right> :tablast<CR> 
    28 map <S-Left> :tabfirst<CR> 
    29 map <C-L> :tabmove! +1<CR> 
    30 map <C-H> :tabmove! -1<CR> 
     28"map <S-Right> :tablast<CR> 
     29"map <S-Left> :tabfirst<CR> 
     30"map <C-L> :tabmove! +1<CR> 
     31"map <C-H> :tabmove! -1<CR> 
    3132 
    3233" ex mode 
     
    3839 
    3940" 
    40 map <A-b> :set guioptions+=b<CR> 
    41 "map ,b :set guioptions+=b<CR> 
    42 map <A-B> :set guioptions-=b<CR> 
    43 "map ,B :set guioptions-=b<CR> 
    44 "map ,t :toggleToolbar<CR> 
    45 noremap ,t :mb tumblr.reblog<CR> 
    46 noremap ,p :pukka<CR> 
     41"map <A-b> :set guioptions+=b<CR> 
     42""map ,b :set guioptions+=b<CR> 
     43"map <A-B> :set guioptions-=b<CR> 
     44""map ,B :set guioptions-=b<CR> 
     45""map ,t :toggleToolbar<CR> 
     46"noremap ,t :mb tumblr.reblog<CR> 
     47"noremap ,p :pukka<CR> 
    4748 
    4849" Unhidden and hidden the menubar and the toolbar 
    49 map <A-Up> :set guioptions+=mT<CR> 
    50 map <A-Down> :set guioptions-=mT<CR> 
     50"map <A-Up> :set guioptions+=mT<CR> 
     51"map <A-Down> :set guioptions-=mT<CR> 
     52 
     53javascript <<EOM 
     54  toggle_element = function (name){ 
     55    document.getElementById(name).collapsed ^= 1; 
     56  } 
     57EOM 
     58 
     59"http://unsigned.g.hatena.ne.jp/Trapezoid/20080620/1213961754 
     60javascript <<EOM 
     61[ 
     62    ['!', ':set invum'], 
     63    [',s', ':buffer!'], 
     64    ['<S-Right>', ':tablast'], 
     65    ['<S-Left>', ':tabfirst'], 
     66    ['<C-L>', ':tabmove! +1'], 
     67    ['<C-H>', ':tabmove! -1'], 
     68    ['<A-b>', ':set guioptions+=b'], 
     69    ['<A-B>', ':set guioptions-=b'], 
     70    [',b', ':bentry'], 
     71    [',c', ':copy'], 
     72    [',p', ':pukka'], 
     73    [',r', ':proxy'], 
     74    [',e', ':eijiro'], 
     75].forEach(function([key, command]){ 
     76    liberator.mappings.addUserMap([liberator.modes.NORMAL], [key], 
     77        "User defined mapping", 
     78        function () { liberator.execute(command); }, 
     79        { 
     80            rhs: key, 
     81            noremap: true 
     82        }); 
     83}); 
     84EOM 
    5185 
    5286" Options 
     
    5690set visualbell 
    5791set history=1000 
    58 set complete=hbsSf 
     92set complete=sl 
     93set wildoptions=auto 
    5994set suggestengines=google 
    6095set newtab=all 
     96set hintstyle+=font-size:15px; 
    6197"]] 
    62 set nextpattern+=next, 次(の)?ページ,→\b,下一頁,Следующая,다음 
     98set nextpattern+=次(の)?ページ,→\b,下一頁,Следующая,다음 
    6399"[[ 
    64100set previouspattern+=prev, 前(の)?ページ,\b← 
     
    66102set editor=/opt/local/bin/gvim -f 
    67103 
     104" sbm 
     105"let g:direct_sbm_use_services_by_tag = "d" 
     106"let g:direct_sbm_use_services_by_post = "d" 
     107 
    68108" pukka plugin variable 
    69109let g:pukka_normalizelink = "true" 
    70110 
    71111" ime_control.js 
    72 let g:ex_ime_mode = "disabled" 
     112"let g:ex_ime_mode = "disabled" 
     113let g:ex_ime_mode = "inactive" 
     114let g:textarea_ime_mode = "inactive" 
    73115 
    74116" ldr_cooperation.js 
     
    77119let g:ldrc_intelligence_bind = "true" 
    78120 
    79 " autoIgnoreKey.js 
    80 javascript <<EOM 
    81 liberator.globalVariables.autoignorekey_pages = uneval([ 
    82   /^https?:\/\/mail\.google\.com\//,  
    83   /^https?:\/\/fastladder\.com\//,  
    84 ]); 
    85 EOM 
     121" 
     122autocmd LocationChange .* :js modes.passAllKeys = /^https?:\/\/mail\.google\.com/.test(buffer.URL) 
     123autocmd LocationChange .* :js modes.passAllKeys = /^https?:\/\/fastladder\.com/.test(buffer.URL) 
    86124 
    87125" copy.js 
     
    136174"source! ~/.vimperatorrc.local 
    137175 
     176echo "done" 
    138177" vim: set ft=vimperator: