Shingo@12: set guioptions+=mT Shingo@12: set titlestring=Firefox Shingo@12: set hlsearch Shingo@12: set wildoptions=auto Shingo@12: set complete=sl Shingo@12: set visualbell Shingo@20: highlight Bell display: none; Shingo@18: "set visualbellstyle=display:none; Shingo@12: set showstatuslinks=2 Shingo@12: Shingo@12: map Y Shingo@12: map :tablast Shingo@12: map ,R :source ~/.vimperatorrc Shingo@18: map d Shingo@12: Shingo@12: inoremap Shingo@12: inoremap Shingo@12: cnoremap Shingo@12: cnoremap Shingo@12: cmap Shingo@12: cmap Shingo@12: Shingo@12: javascript < Shingo@12: javascript < "); Shingo@12: return t + "\n- " + u + (s? ("\n> " + s): ''); Shingo@12: }}, Shingo@12: { label: 'my', custom: function() { Shingo@12: var [t, u, s] = get_tus(window, document); Shingo@12: s = s.replace(/\n/, "\n "); Shingo@12: return t + ":\n - " + u + (s? ("\n >>\n " + s + "\n <<"): ''); Shingo@12: }}, Shingo@23: { label: 'sc', custom: function() { Shingo@23: var t = content.document.title; Shingo@23: var u = content.location.href.replace(/^.+ScrapBook\/data\//, ''); Shingo@23: return '[sc] &scrapbook(' + t + ',' + u + ');'; Shingo@23: }}, Shingo@12: { label: 'datestr', custom: function() { Shingo@14: return '[' + content.location.href.match(/\d\d\d\d-\d\d-\d\d-\d+/) + ']'; Shingo@12: }}, Shingo@12: ]; Shingo@12: })(); Shingo@12: EOM Shingo@12: Shingo@12: " plugin/feedSomeKeys.js Shingo@12: autocmd LocationChange .* :fmapc Shingo@18: 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, K, q w g u Shingo@21: 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 Shingo@18: Shingo@18: "js < z Z < > q w b i".split(/ +/));'); Shingo@18: "autocommands.add('LocationChange',/mail\.google\.com\/mail\//, Shingo@18: " 'js plugins.feedKey.setup("j k p n e u o / ".split(/ +/));'); Shingo@18: "EOF Shingo@12: Shingo@21: let g:no_reading_on_statusline = 1 Shingo@21: let g:no_reading_statusline_limit = 2000 Shingo@21: Shingo@12: echo ".vimperatorrc loaded."