Add ,h mapping.
2 set titlestring=Firefox
7 highlight Bell display: none;
8 "set visualbellstyle=display:none;
12 map <C-9> :tablast<CR>
13 map ,R :source ~/.vimperatorrc
17 inoremap <C-v> <C-v><C-v>
19 cnoremap <C-v> <C-v><C-v>
26 var feedPanel = document.createElement('statusbarpanel');
27 var feedButton = document.getElementById('feed-button');
28 feedPanel.setAttribute('id','feed-panel-clone');
29 feedPanel.appendChild(feedButton.cloneNode(true));
30 feedButton.parentNode.removeChild(feedButton);
31 document.getElementById('status-bar').insertBefore(feedPanel,document.getElementById('security-button'));
36 " plugin/ime_controller.js
37 let g:ex_ime_mode = "inactive"
38 let g:textarea_ime_mode = "inactive"
44 function get_tus(w, d) {
45 var t = content.document.title;
46 var u = content.location.href;
47 var s = content.window.getSelection().getRangeAt(0).toString();
50 liberator.globalVariables.copy_templates = [
51 { label: 't', value: '%TITLE%' },
52 { label: 'tu', value: '%TITLE% - %URL%' },
53 { label: 'asin', custom: function(){
54 return content.document.getElementById('ASIN').value;
56 { label: 'wiki', custom: function() {
57 var [t, u, s] = get_tus(window, document);
58 s = s.replace(/\n/, "\n> ");
59 return t + "\n- " + u + (s? ("\n> " + s): '');
61 { label: 'my', custom: function() {
62 var [t, u, s] = get_tus(window, document);
63 s = s.replace(/\n/, "\n ");
64 return t + ":\n - " + u + (s? ("\n >>\n " + s + "\n <<"): '');
66 { label: 'sc', custom: function() {
67 var t = content.document.title;
68 var u = content.location.href.replace(/^.+ScrapBook\/data\//, '');
69 return '[sc] &scrapbook(' + t + ',' + u + ');';
71 { label: 'datestr', custom: function() {
72 return '[' + content.location.href.match(/\d\d\d\d-\d\d-\d\d-\d+/) + ']';
78 " plugin/feedSomeKeys.js
79 autocmd LocationChange .* :fmapc
80 autocmd LocationChange http://(reader\.livedoor\.com|fastladder\.com|0\.0\.0\.0\:3000)/reader/ :fmap j k s a p v c z Z b i r < > o,vj J,<Space> K,<S-Space> q w g u
81 autocmd LocationChange mail\.google\.com/(mail|a)/ :fmap c / j k n p o u e x s r a # [ ] z ? gi gs gt gd ga gc <C-c>
84 "autocommands.add('LocationChange',/reader\.livedoor\.com\/reader\//,
85 " 'js plugins.feedKey.setup("j k s a p v c <Space> <S-Space> z Z < > q w b i".split(/ +/));');
86 "autocommands.add('LocationChange',/mail\.google\.com\/mail\//,
87 " 'js plugins.feedKey.setup("j k p n e u o / <C-c>".split(/ +/));');
90 let g:no_reading_on_statusline = 1
91 let g:no_reading_statusline_limit = 2000
93 echo ".vimperatorrc loaded."