Changeset 8693 for dotfiles/vimperator/otsune-vimperatorrc
- Timestamp:
- 04/03/08 03:32:45 (8 months ago)
- Files:
-
- 1 modified
-
dotfiles/vimperator/otsune-vimperatorrc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotfiles/vimperator/otsune-vimperatorrc
r8655 r8693 1 " otsune vimperatorrc 2 " For vimperator 0.6pre 3 set guioptions=b 4 set verbose=9 5 set visualbell 6 set history=1000 7 set complete=sbgh 8 set editor=/opt/local/bin/gvim -f 1 " otsune .vimperatorrc 2 " 0.6pre (created: 2008/04/02 07:30:09) 3 " Mappings 9 4 10 5 " css … … 15 10 map } `a 16 11 17 "]] 18 set nextpattern+=次のページ,\b次.*,→\b 19 "[[ 20 set previouspattern+=前のページ,\b前.*,\b← 21 22 " 12 " 23 13 noremap j 5j 24 14 noremap k 5k … … 26 16 " select next/previous tab 27 17 map <Right> gt 28 map <Left> gT29 map <C-l> gt30 map <C-h> gT18 map <Left> gT 19 map <C-l> gt 20 map <C-h> gT 31 21 32 22 " move current tab left/right 33 23 map <S-Right> :tablast<CR> 34 map <S-Left> :tabfirst<CR>35 map <C-L> :tabmove! +1<CR>36 map <C-H> :tabmove! -1<CR>24 map <S-Left> :tabfirst<CR> 25 map <C-L> :tabmove! +1<CR> 26 map <C-H> :tabmove! -1<CR> 37 27 38 map ,b :set guioptions+=b<CR> 39 map ,B :set guioptions-=b<CR> 28 " 29 map <A-b> :set guioptions+=b<CR> 30 "map ,b :set guioptions+=b<CR> 31 map <A-B> :set guioptions-=b<CR> 32 "map ,B :set guioptions-=b<CR> 40 33 map ,t :toggleToolbar<CR> 41 34 42 " pukka plugin 35 " Unhidden and hidden the menubar and the toolbar 36 map <A-Up> :set guioptions+=mT<CR> 37 map <A-Down> :set guioptions-=mT<CR> 38 39 " Options 40 set guioptions+=b 41 "set titlestring=Vimperator 42 set verbose=9 43 set visualbell 44 set history=1000 45 set complete=sbgh 46 "]] 47 set nextpattern+=次のページ,\b次.*,→\b,下一頁,Следующая,다음 48 "[[ 49 set previouspattern+=前のページ,\b前.*,\b← 50 " 51 set editor=/opt/local/bin/gvim -f 52 53 " pukka plugin variable 43 54 let g:pukka_normalizelink = "true" 44 55 … … 47 58 liberator.mappings.addUserMap([liberator.modes.NORMAL], ['<C-c>'], 48 59 'Copy selected text or ', 49 function () {50 var sel = window.content.document.getSelection();60 function () { 61 var sel = liberator.buffer.getCurrentWord(); 51 62 if (sel) { 52 63 liberator.copyToClipboard(sel); … … 56 67 liberator.echo('Stopped loading !'); 57 68 } 58 } , {}); 69 } , {} 70 ); 59 71 EOM 60 72 61 73 " Show feed-button to statusbar 62 74 javascript <<EOM 63 (function (){75 (function () { 64 76 var feedPanel = document.createElement('statusbarpanel'); 65 77 var feedButton = document.getElementById('feed-button'); 66 feedPanel.setAttribute('id','feed-panel-clone'); 67 feedPanel.appendChild(feedButton.cloneNode(true)); 68 feedButton.parentNode.removeChild(feedButton); 69 document.getElementById('status-bar').insertBefore(feedPanel,document.getElementById('security-button')); 78 feedPanel.setAttribute('id','feed-panel-clone'); 79 feedPanel.appendChild(feedButton.cloneNode(true)); 80 feedButton.parentNode.removeChild(feedButton); 81 document.getElementById('status-bar') 82 .insertBefore(feedPanel,document.getElementById('security-button')); 70 83 })(); 71 84 EOM 85 " Abbreviations 72 86 73 " vim:set sw=4 ts=4 sts=0 syntax=vimperator: 87 source! ~/.vimperatorrc.local 88 89 " vim: set ft=vimperator:
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)