Updated for vimperator 2.3.
1.1 --- a/.vimperatorrc Mon Sep 20 02:40:51 2010 +0900
1.2 +++ b/.vimperatorrc Tue Feb 15 23:08:35 2011 +0900
1.3 @@ -4,12 +4,13 @@
1.4 set wildoptions=auto
1.5 set complete=sl
1.6 set visualbell
1.7 -set visualbellstyle=display:none;
1.8 +"set visualbellstyle=display:none;
1.9 set showstatuslinks=2
1.10
1.11 map <C-c> Y
1.12 map <C-9> :tablast<CR>
1.13 map ,R :source ~/.vimperatorrc
1.14 +map d <C-w>
1.15
1.16 inoremap <C-v> <C-v><C-v>
1.17 inoremap <C-q> <C-v>
1.18 @@ -35,7 +36,7 @@
1.19 let g:textarea_ime_mode = "inactive"
1.20
1.21 " plugin/copy.js
1.22 -map ,c :copy <SPC>
1.23 +map ,c :copy<Space>
1.24 javascript <<EOM
1.25 (function(){
1.26 function get_tus(w, d) {
1.27 @@ -69,11 +70,15 @@
1.28
1.29 " plugin/feedSomeKeys.js
1.30 autocmd LocationChange .* :fmapc
1.31 -js <<EOF
1.32 -autocommands.add('LocationChange',/reader\.livedoor\.com\/reader\//,
1.33 - 'js plugins.feedKey.setup("j k s a p v c <Space> <S-Space> z Z < > q w b i".split(/ +/));');
1.34 -autocommands.add('LocationChange',/mail\.google\.com\/mail\//,
1.35 - 'js plugins.feedKey.setup("j k p n e u o / <C-c>".split(/ +/));');
1.36 -EOF
1.37 +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
1.38 +autocmd LocationChange mail\.google\.com/(mail|a)/ :fmap -d 4 c / j k n p o u e x s r a # [ ] z ? gi gs gt gd ga gc <C-c>
1.39 +
1.40 +"js <<EOF
1.41 +"autocommands.add('LocationChange',/reader\.livedoor\.com\/reader\//,
1.42 +" 'js plugins.feedKey.setup("j k s a p v c <Space> <S-Space> z Z < > q w b i".split(/ +/));');
1.43 +"autocommands.add('LocationChange',/mail\.google\.com\/mail\//,
1.44 +" 'js plugins.feedKey.setup("j k p n e u o / <C-c>".split(/ +/));');
1.45 +"EOF
1.46
1.47 echo ".vimperatorrc loaded."
1.48 +