Changeset 21799 for dotfiles/vimperator

Show
Ignore:
Timestamp:
10/21/08 20:57:48 (3 months ago)
Author:
janus_wel
Message:

liberator -> liberator.modules
wildmode=auto 時のチラチラが発生しなくなったので対策をやめた

Location:
dotfiles/vimperator
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dotfiles/vimperator/janus_wel-vimperatorrc

    r20932 r21799  
    5858" textarea, input 両方で spell check を有効にする 
    5959set! layout.spellcheckDefault=2 
     60set! spellchecker.dictionary=en-US 
     61 
    6062" 単語選択時の右側のスペース選択を行わない 
    6163set! layout.word_select.eat_space_to_next_word=false 
     
    6870 
    6971" Ctrl + p / n でタブを左右に移動 
    70 " map <C-p> :tabmove! -1<CR> 
    71 " map <C-n> :tabmove! +1<CR> 
     72map <C-p> :tabmove! -1<CR> 
     73map <C-n> :tabmove! +1<CR> 
    7274 
    7375" <S-a> ( デフォルト ) で bookmark toggle を解除 
     
    118120" c で title 要素コピー 
    119121" plugin : copy.js 
    120 "map c :copy %TITLE%<CR> 
     122map c :copy %TITLE%<CR> 
    121123 
    122124" e で ALC 英辞郎で辞書を引く 
    123125" plugin : lookupDictionary.js 
    124 "map e :eijiro<Space> 
     126map e :eijiro<Space> 
    125127 
    126128" 使用する Social Bookmark を del.icio.us とはてなブックマークに設定 
     
    153155source ~/.vimperatorrc.js 
    154156 
     157" CSS ------------------------------------------------------------------- 
     158source ~/.vimperatorrc.css 
     159 
     160 
    155161" vim: ft=vimperator sw=4 sts=4 
  • dotfiles/vimperator/janus_wel-vimperatorrc.js

    r20932 r21799  
    77    /^http:\/\/www\.rememberthemilk\.com\/home\//, 
    88]); 
    9  
    10 // wildoptions=auto のチラチラ対策 
    11 [ 
    12     ['<C-p>',   ':tabmove! -1',             'move to tab left'], 
    13     ['<C-n>',   ':tabmove! +1',             'move to tab right'], 
    14     ['c',       ':copy title',              'copy title on current tab'], 
    15     ['e',       'normal :eijiro<Space>',    'ready eijiro command'], 
    16 ].forEach( 
    17     function([key, command, description]){ 
    18         liberator.mappings.addUserMap( 
    19             [liberator.modes.NORMAL], 
    20             [key], 
    21             description, 
    22             function () { liberator.execute(command); }, 
    23             { rhs: key, } 
    24         ); 
    25     } 
    26 ); 
    279 
    2810// 動画サイトの操作用 map 
     
    3416    function registMaps(maps) { 
    3517        for (let i=0, max=maps.length ; i<max ; ++i) { 
    36             liberator.mappings.addUserMap( 
    37                 [liberator.modes.NORMAL], 
     18            liberator.modules.mappings.addUserMap( 
     19                [liberator.modules.modes.NORMAL], 
    3820                [maps[i].command], 
    3921                maps[i].description, 
     
    4628    function removeMaps(maps) { 
    4729        for (let i=0 ; i<maps.length ; ++i) { 
    48             liberator.mappings.remove(liberator.modes.NORMAL, maps[i].command); 
     30            liberator.modules.mappings.remove(liberator.modules.modes.NORMAL, maps[i].command); 
    4931        } 
    5032        return true; 
     
    173155                    }, 
    174156                    description:    'play next item in NicoNicoPlaylist', 
    175                     extra:          { flags:  liberator.Mappings.flags.COUNT }, 
     157                    extra:          { flags:  liberator.modules.Mappings.flags.COUNT }, 
    176158                }, 
    177159                { 
     
    186168                    }, 
    187169                    description:    'remove item in NicoNicoPlaylist', 
    188                     extra:          { flags:  liberator.Mappings.flags.COUNT }, 
     170                    extra:          { flags:  liberator.modules.Mappings.flags.COUNT }, 
    189171                }, 
    190172                { 
     
    198180                    }, 
    199181                    description:    'seek by count backward', 
    200                     extra:          { flags:  liberator.Mappings.flags.COUNT }, 
     182                    extra:          { flags:  liberator.modules.Mappings.flags.COUNT }, 
    201183                }, 
    202184                { 
     
    210192                    }, 
    211193                    description:    'seek by count forward', 
    212                     extra:          { flags:  liberator.Mappings.flags.COUNT }, 
     194                    extra:          { flags:  liberator.modules.Mappings.flags.COUNT }, 
    213195                }, 
    214196            ], 
     
    258240                    }, 
    259241                    description:    'seek by count backward', 
    260                     extra:          { flags:  liberator.Mappings.flags.COUNT }, 
     242                    extra:          { flags:  liberator.modules.Mappings.flags.COUNT }, 
    261243                }, 
    262244                { 
     
    270252                    }, 
    271253                    description:    'seek by count forward', 
    272                     extra:          { flags:  liberator.Mappings.flags.COUNT }, 
     254                    extra:          { flags:  liberator.modules.Mappings.flags.COUNT }, 
    273255                }, 
    274256            ], 
     
    293275}; 
    294276 
    295 liberator.autocommands.add('LocationChange', '.*', 'js liberator.plugins.nicomap()'); 
     277liberator.modules.autocommands.add('LocationChange', '.*', 'js liberator.plugins.nicomap()'); 
    296278 
    297279