| 1 | "2.0pre (created: 2009/02/07 07:30:01) |
|---|
| 2 | |
|---|
| 3 | noremap j 5j |
|---|
| 4 | noremap k 5k |
|---|
| 5 | noremap <C-h> <Left> |
|---|
| 6 | noremap <C-l> <Right> |
|---|
| 7 | |
|---|
| 8 | noremap h gT |
|---|
| 9 | noremap l gt |
|---|
| 10 | |
|---|
| 11 | noremap <C-t> <C-z> |
|---|
| 12 | |
|---|
| 13 | cnoremap <C-n> <Tab> |
|---|
| 14 | cnoremap <C-p> <S-Tab> |
|---|
| 15 | cnoremap <C-b> <Left> |
|---|
| 16 | cnoremap <C-f> <Right> |
|---|
| 17 | |
|---|
| 18 | inoremap <C-b> <Left> |
|---|
| 19 | inoremap <C-f> <Right> |
|---|
| 20 | inoremap <C-p> <Up> |
|---|
| 21 | inoremap <C-n> <Down> |
|---|
| 22 | |
|---|
| 23 | noremap <silent> ,d :dialog downloads<CR> |
|---|
| 24 | noremap <silent> ,a :dialog addons<CR> |
|---|
| 25 | noremap <silent> ,b :open bentry<CR> " bookmark keyword |
|---|
| 26 | noremap <silent> ,t :tombloo! Link<CR> |
|---|
| 27 | |
|---|
| 28 | set verbose=7 |
|---|
| 29 | set preload |
|---|
| 30 | set titlestring= |
|---|
| 31 | set visualbell |
|---|
| 32 | highlight Bell display:none |
|---|
| 33 | set wildmode=list:longest,full |
|---|
| 34 | set wildoptions=auto |
|---|
| 35 | set complete=sl |
|---|
| 36 | set newtab=all |
|---|
| 37 | set focuscontent |
|---|
| 38 | set hintmatching=custom " migemo_hints.js |
|---|
| 39 | |
|---|
| 40 | autocmd LocationChange .* :feedmapclear |
|---|
| 41 | autocmd LocationChange reader\\.livedoor\\.com/reader :fmap j k s a p v c <Space> <S-Space> z Z < > q g h l n r R x T |
|---|
| 42 | autocmd LocationChange reader\\.livedoor\\.com/reader :fmap ;,: |
|---|
| 43 | |
|---|
| 44 | javascript <<EOM |
|---|
| 45 | (function () { |
|---|
| 46 | var feedButton = document.getElementById('feed-button'); |
|---|
| 47 | feedButton.parentNode.removeChild(feedButton); |
|---|
| 48 | var feedPanel = document.createElement('statusbarpanel'); |
|---|
| 49 | feedPanel.setAttribute('id', 'feed-panel-clone'); |
|---|
| 50 | feedPanel.appendChild(feedButton.cloneNode(true)); |
|---|
| 51 | document.getElementById('status-bar').insertBefore( |
|---|
| 52 | feedPanel, |
|---|
| 53 | document.getElementById('security-button') |
|---|
| 54 | ); |
|---|
| 55 | })(); |
|---|
| 56 | EOM |
|---|
| 57 | |
|---|
| 58 | javascript <<EOM |
|---|
| 59 | liberator.globalVariables.copy_templates = [ |
|---|
| 60 | { label: 'url', value: '%URL%' }, |
|---|
| 61 | { label: 'titleAndURL', value: '%TITLE%\n%URL%' }, |
|---|
| 62 | { label: 'title', value: '%TITLE%', map: ',y' }, |
|---|
| 63 | { label: 'hatena', value: '[%URL%:title=%TITLE%]' }, |
|---|
| 64 | ]; |
|---|
| 65 | EOM |
|---|
| 66 | |
|---|
| 67 | " source! ~/.vimperatorrc.local |
|---|
| 68 | |
|---|
| 69 | " vim: set ft=vimperator: |
|---|