Changeset 23996 for dotfiles/vimperator

Show
Ignore:
Timestamp:
11/18/08 00:32:27 (8 weeks ago)
Author:
suVene
Message:

- multi_requester.js用設定追加。
- ポップアップ数制御。
- ほか。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dotfiles/vimperator/suVene-vimperatorrc

    r23425 r23996  
    7171" Speed up first time history/bookmark completion 
    7272set preload 
     73"  
     74set verbose=9 
    7375" visualbell有効 
    7476set visualbell 
     
    8890autocmd LocationChange .* :js modes.passAllKeys = /^https?:\/\/(?:www\.)?rememberthemilk\.com/.test(buffer.URL) 
    8991autocmd LocationChange .* :js modes.passAllKeys = /^https?:\/\/mail\.google\.com/.test(buffer.URL) 
     92autocmd LocationChange .* :js modes.passAllKeys = /^https?:\/\/(?:www\.)?google\.com\/reader/.test(buffer.URL) 
    9093 
    9194" for browser 
     
    9396" 単語選択時の右側のスペース選択を行わない 
    9497set! layout.word_select.eat_space_to_next_word=false 
    95  
     98" ポップアップ許可数を拡張 cf.http://la.ma.la/blog/diary_200611171115.htm 
     99set! dom.popup_maximum=999 
    96100 
    97101" for plugins 
     
    112116  { label: 'hatenacite',        value: '>%URL%:title=%TITLE%>\n%SEL%\n<<' }, 
    113117  { label: 'markdown',          value: '[%SEL%](%URL% "%TITLE%")' }, 
     118]; 
     119EOM 
     120 
     121" multi_requester.js 
     122javascript <<EOM 
     123liberator.globalVariables.multi_requester_siteinfo = [ 
     124    { 
     125        name:        'lo',                             // required 
     126        description: 'local',                          // required 
     127        url:         'http://localhost/index.html?%s', // required, %s <-- replace string 
     128        resultXpath: '//*',                            // optional(default all) 
     129        encode:      'SHIFT-JIS',                      // optional(default UTF-8) 
     130        ignoreTags:  'img',                            // optional(default script), syntax tag1,tag2,…… 
     131    }, 
     132]; 
     133liberator.globalVariables.multi_requester_mappings = [ 
     134    [',ml', 'lo'],              // <-- :mr lo 
     135    [',ma', 'alc'],             // <-- :mr alc 
     136    [',mg', 'goo', '!'],        // <-- :mr! goo 
    114137]; 
    115138EOM