root/dotfiles/vimperator/hogelog-vimperatorrc

Revision 20870, 2.4 kB (checked in by hogelog, 6 weeks ago)
  • 左手用PageUp(a), PageDown?(z)追加
  • decuri、incuriのマッピングが[[、]]の奴と逆ぽかったので逆に
  • wildoptions=autoやっぱあんまし好きじゃない
  • pattern追加
  • vimperatorがおしゃべりに
Line 
1noremap h <C-p>
2noremap l <C-n>
3noremap J <PageDown>
4noremap K <PageUp>
5noremap j 5j
6noremap k 5k
7
8" pass through
9noremap <C-q> <C-v>
10
11noremap . d
12noremap { <S-Tab><C-Enter>
13noremap } <Tab><C-Enter>
14
15noremap a <PageUp>
16noremap z <PageDown>
17
18" commands
19noremap gl      :qmarks<CR>
20noremap a       :dialog addbookmark<CR>
21noremap <Left>  :tabmove! -1<CR>
22noremap <Right> :tabmove! +1<CR>
23noremap ,a      :dialog addons<CR>
24noremap ,d      :dialog downloads<CR>
25noremap ,c      :dialog console<CR>
26noremap ,g      :set go+=m<CR>
27noremap ,G      :set go-=m<CR>
28noremap ,t      :twitter<Space>
29
30" moreqmarks.js
31noremap gv      :stacklist<CR>
32noremap gz      :queuelist<CR>
33
34" incuri.js
35noremap [@ :decuri<CR>
36noremap ]: :incuri<CR>
37
38" Paste
39cmap <C-v> <S-Insert>
40imap <C-v> <S-Insert>
41
42set guioptions=m
43
44set focuscontent
45
46set complete=slh
47"set wildoptions=auto
48
49" ]]
50set nextpattern=��.*,��,\bnext,>>
51" [[
52set previouspattern=�O.*,��,\bprev,<<
53
54set verbose=9
55
56javascript <<EOM
57// add dialogs
58[
59['bbs2chreader', 'bbs2chreader', 'chrome://bbs2chreader/content/bbsmenu/page.xul', 'resizable,width=200,height=700'],
60['scrapbook', 'ScrapBook', 'chrome://scrapbook/content/scrapbook.xul', 'resizable,width=300,height=700'],
61['foxage2ch', 'Foxage2ch', 'chrome://foxage2ch/content/foxage2ch.xul'],
62['livehttpheaders', 'Live HTTP Headers', 'chrome://livehttpheaders/content/LiveHTTPHeaders.xul'],
63].forEach(function([name, description, uri, args]) liberator.config.dialogs.push([name, description, function() openDialog(uri, "_blank", args)]));
64
65// SessionManager
66liberator.commands.add(["saves[ession]"], "Save Session", function() gSessionManager.saveWindow());
67
68// proxy.js
69liberator.globalVariables.proxy_settings = [
70     {
71          conf_name: 'disable',
72          conf_usage: 'direct connection',
73          settings: [
74              {
75                  label: 'type',
76                  param: 0
77              }
78          ]
79      },
80      {
81          conf_name: 'forwarding',
82          conf_usage: 'use port forwarding',
83          settings: [
84              {
85                  label: 'type',
86                  param: 1
87              },
88              {
89                  label: 'http',
90                  param: 'localhost'
91              },
92              {
93                  label: 'http_port',
94                  param: 8080
95              }
96          ]
97      }
98];
99EOM
100
101echo ".vimperatorrc is loaded"
102" vim: set ft=javascript sw=4 ts=4 et:
Note: See TracBrowser for help on using the browser.