Changeset 21799 for dotfiles/vimperator
- Timestamp:
- 10/21/08 20:57:48 (3 months ago)
- Location:
- dotfiles/vimperator
- Files:
-
- 2 modified
-
janus_wel-vimperatorrc (modified) (4 diffs)
-
janus_wel-vimperatorrc.js (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotfiles/vimperator/janus_wel-vimperatorrc
r20932 r21799 58 58 " textarea, input 両方で spell check を有効にする 59 59 set! layout.spellcheckDefault=2 60 set! spellchecker.dictionary=en-US 61 60 62 " 単語選択時の右側のスペース選択を行わない 61 63 set! layout.word_select.eat_space_to_next_word=false … … 68 70 69 71 " Ctrl + p / n でタブを左右に移動 70 "map <C-p> :tabmove! -1<CR>71 "map <C-n> :tabmove! +1<CR>72 map <C-p> :tabmove! -1<CR> 73 map <C-n> :tabmove! +1<CR> 72 74 73 75 " <S-a> ( デフォルト ) で bookmark toggle を解除 … … 118 120 " c で title 要素コピー 119 121 " plugin : copy.js 120 "map c :copy %TITLE%<CR>122 map c :copy %TITLE%<CR> 121 123 122 124 " e で ALC 英辞郎で辞書を引く 123 125 " plugin : lookupDictionary.js 124 "map e :eijiro<Space>126 map e :eijiro<Space> 125 127 126 128 " 使用する Social Bookmark を del.icio.us とはてなブックマークに設定 … … 153 155 source ~/.vimperatorrc.js 154 156 157 " CSS ------------------------------------------------------------------- 158 source ~/.vimperatorrc.css 159 160 155 161 " vim: ft=vimperator sw=4 sts=4 -
dotfiles/vimperator/janus_wel-vimperatorrc.js
r20932 r21799 7 7 /^http:\/\/www\.rememberthemilk\.com\/home\//, 8 8 ]); 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 );27 9 28 10 // 動画サイトの操作用 map … … 34 16 function registMaps(maps) { 35 17 for (let i=0, max=maps.length ; i<max ; ++i) { 36 liberator.m appings.addUserMap(37 [liberator.mod es.NORMAL],18 liberator.modules.mappings.addUserMap( 19 [liberator.modules.modes.NORMAL], 38 20 [maps[i].command], 39 21 maps[i].description, … … 46 28 function removeMaps(maps) { 47 29 for (let i=0 ; i<maps.length ; ++i) { 48 liberator.m appings.remove(liberator.modes.NORMAL, maps[i].command);30 liberator.modules.mappings.remove(liberator.modules.modes.NORMAL, maps[i].command); 49 31 } 50 32 return true; … … 173 155 }, 174 156 description: 'play next item in NicoNicoPlaylist', 175 extra: { flags: liberator. Mappings.flags.COUNT },157 extra: { flags: liberator.modules.Mappings.flags.COUNT }, 176 158 }, 177 159 { … … 186 168 }, 187 169 description: 'remove item in NicoNicoPlaylist', 188 extra: { flags: liberator. Mappings.flags.COUNT },170 extra: { flags: liberator.modules.Mappings.flags.COUNT }, 189 171 }, 190 172 { … … 198 180 }, 199 181 description: 'seek by count backward', 200 extra: { flags: liberator. Mappings.flags.COUNT },182 extra: { flags: liberator.modules.Mappings.flags.COUNT }, 201 183 }, 202 184 { … … 210 192 }, 211 193 description: 'seek by count forward', 212 extra: { flags: liberator. Mappings.flags.COUNT },194 extra: { flags: liberator.modules.Mappings.flags.COUNT }, 213 195 }, 214 196 ], … … 258 240 }, 259 241 description: 'seek by count backward', 260 extra: { flags: liberator. Mappings.flags.COUNT },242 extra: { flags: liberator.modules.Mappings.flags.COUNT }, 261 243 }, 262 244 { … … 270 252 }, 271 253 description: 'seek by count forward', 272 extra: { flags: liberator. Mappings.flags.COUNT },254 extra: { flags: liberator.modules.Mappings.flags.COUNT }, 273 255 }, 274 256 ], … … 293 275 }; 294 276 295 liberator. autocommands.add('LocationChange', '.*', 'js liberator.plugins.nicomap()');277 liberator.modules.autocommands.add('LocationChange', '.*', 'js liberator.plugins.nicomap()'); 296 278 297 279
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)