Changeset 21595
- Timestamp:
- 10/18/08 23:27:15 (3 months ago)
- Files:
-
- 1 modified
-
dotfiles/vimperator/kga-vimperatorrc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotfiles/vimperator/kga-vimperatorrc
r21096 r21595 20 20 imap <C-b> <Left> 21 21 imap <C-f> <Right> 22 imap <C-p> <Up> 23 imap <C-n> <Down> 22 24 23 25 "http://unsigned.g.hatena.ne.jp/Trapezoid/20080620/1213961754 … … 26 28 [',b', ':bentry'], 27 29 [',c', ':copy'], 30 [',t', ':tombloo! Link'] 28 31 ].forEach(function([key, command]){ 29 liberator.mappings.addUserMap([liberator.modes.NORMAL], [key],32 mappings.addUserMap([modes.NORMAL], [key], 30 33 "User defined mapping", 31 function () { liberator.execute(command); },34 function () { execute(command); }, 32 35 { 33 36 rhs: key, … … 42 45 set titlestring=Minefield 43 46 set visualbell 47 set visualbellstyle+=opacity:0.8 44 48 set wildoptions=auto 45 49 set complete=sl … … 48 52 "set hintmatching=custom 49 53 50 let g:direct_sbm_use_services_by_tag = "h" 51 let g:direct_sbm_use_services_by_post = "h" 54 set nextpattern+=次(の)?ページ,→\b 55 set previouspattern+=prev, 前(の)?ページ,\b← 52 56 53 57 autocmd LocationChange .* :fmapc 54 58 55 59 javascript <<EOF 56 liberator.autocommands.add('PageLoad, TabSelect', /reader\.livedoor\.com\/reader\//, [57 'js liberator.plugins.feedKey.setup(',60 autocommands.add('LocationChange', /reader\.livedoor\.com\/reader\//, [ 61 'js plugins.feedKey.setup(', 58 62 '"j k s a p v <Space> <S-Space> z Z < > q g h l n r R x T".split(/ +/)', 59 63 ');' 60 64 ].join('')); 61 65 EOF 66 autocmd LocationChange http://reader\.livedoor\.com/reader/ :fmap ; : 67 68 " Show feed-button to statusbar 69 javascript <<EOM 70 (function () { 71 var feedButton = document.getElementById('feed-button'); 72 feedButton.parentNode.removeChild(feedButton); 73 var feedPanel = document.createElement('statusbarpanel'); 74 feedPanel.setAttribute('id', 'feed-panel-clone'); 75 feedPanel.appendChild(feedButton.cloneNode(true)); 76 document.getElementById('status-bar').insertBefore( 77 feedPanel, 78 document.getElementById('security-button') 79 ); 80 })(); 81 EOM 82 83 javascript <<EOM 84 globalVariables.copy_templates = [ 85 { label: 'url', value: '%URL%' }, 86 { label: 'titleAndURL', value: '%TITLE% %URL%' }, 87 { label: 'hatena', value: '[%URL%:title=%TITLE%]' }, 88 { label: 'title', value: '%TITLE%' } 89 ]; 90 EOM
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)