Changeset 15037
- Timestamp:
- 07/02/08 13:08:37 (5 years ago)
- Files:
-
- 1 modified
-
dotfiles/vimperator/otsune-vimperatorrc (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotfiles/vimperator/otsune-vimperatorrc
r13990 r15037 3 3 " Mappings 4 4 5 echo "loading..." 5 6 " css 6 map ! :set invum<CR>7 "map ! :set invum<CR> 7 8 8 9 " set mark-a, jump mark-a … … 25 26 26 27 " 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> 31 32 32 33 " ex mode … … 38 39 39 40 " 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> 47 48 48 49 " 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 53 javascript <<EOM 54 toggle_element = function (name){ 55 document.getElementById(name).collapsed ^= 1; 56 } 57 EOM 58 59 "http://unsigned.g.hatena.ne.jp/Trapezoid/20080620/1213961754 60 javascript <<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 }); 84 EOM 51 85 52 86 " Options … … 56 90 set visualbell 57 91 set history=1000 58 set complete=hbsSf 92 set complete=sl 93 set wildoptions=auto 59 94 set suggestengines=google 60 95 set newtab=all 96 set hintstyle+=font-size:15px; 61 97 "]] 62 set nextpattern+= next,次(の)?ページ,→\b,下一頁,Следующая,다음98 set nextpattern+=次(の)?ページ,→\b,下一頁,Следующая,다음 63 99 "[[ 64 100 set previouspattern+=prev, 前(の)?ページ,\b← … … 66 102 set editor=/opt/local/bin/gvim -f 67 103 104 " sbm 105 "let g:direct_sbm_use_services_by_tag = "d" 106 "let g:direct_sbm_use_services_by_post = "d" 107 68 108 " pukka plugin variable 69 109 let g:pukka_normalizelink = "true" 70 110 71 111 " ime_control.js 72 let g:ex_ime_mode = "disabled" 112 "let g:ex_ime_mode = "disabled" 113 let g:ex_ime_mode = "inactive" 114 let g:textarea_ime_mode = "inactive" 73 115 74 116 " ldr_cooperation.js … … 77 119 let g:ldrc_intelligence_bind = "true" 78 120 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 " 122 autocmd LocationChange .* :js modes.passAllKeys = /^https?:\/\/mail\.google\.com/.test(buffer.URL) 123 autocmd LocationChange .* :js modes.passAllKeys = /^https?:\/\/fastladder\.com/.test(buffer.URL) 86 124 87 125 " copy.js … … 136 174 "source! ~/.vimperatorrc.local 137 175 176 echo "done" 138 177 " vim: set ft=vimperator:
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)