diff -r 76f664f2183e -r 2840d13cb173 .vimperatorrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.vimperatorrc Tue Jan 26 23:09:28 2010 +0900 @@ -0,0 +1,80 @@ +set guioptions+=mT +set titlestring=Firefox +set hlsearch +set wildoptions=auto +set complete=sl +set visualbell +set visualbellstyle=display:none; +set showstatuslinks=2 + +map Y +map :tablast +map ,R :source ~/.vimperatorrc + +inoremap +inoremap +cnoremap +cnoremap +cmap +cmap + +javascript < +javascript < "); + return t + "\n- " + u + (s? ("\n> " + s): ''); + }}, + { label: 'my', custom: function() { + var [t, u, s] = get_tus(window, document); + s = s.replace(/\n/, "\n "); + return t + ":\n - " + u + (s? ("\n >>\n " + s + "\n <<"): ''); + }}, + { label: 'datestr', custom: function() { + return '[' + liberator.buffer.URL.match(/\d\d\d\d-\d\d-\d\d-\d+/) + ']'; + }}, +]; +})(); +EOM + +" plugin/feedSomeKeys.js +autocmd LocationChange .* :fmapc +js < z Z < > q w b i".split(/ +/));'); +autocommands.add('LocationChange',/mail\.google\.com\/mail\//, + 'js plugins.feedKey.setup("j k p n e u o / ".split(/ +/));'); +EOF + +echo ".vimperatorrc loaded."