先輩につられて vimperator 2.0pre 設定してみた!
Firefox の Add-on で vim 風にするやつ
説明はいろいろ他のところで探してくださいな.
Greasemonkey とかと同じく自己責任で入れましょう!
いろいろ
vimperator 2.0 pre Add-on の DL
Index of /vimperator/nightly/
~/.vimperatorrc
/dotfiles/vimperator – CodeRepos::Share – Trac
~/.vimperator/plugin
/lang/javascript/vimperator-plugins/trunk – CodeRepos::Share – Trac
CodeRepos にコミットしてる人の blog も!ありがとうございます!
設定
~/.vimperatorrc
" Options "GUIの設定 set guioptions=mrb "openの入力補完 set complete=slS "ビープ音を鳴らさずビジュアルベルを使用 set visualbell " 検索語のハイライト(default) set hlsearch " Plugin Option " copy.js js <<EOM liberator.globalVariables.copy_templates = [ { label: 'titleAndURL', value: '%TITLE%\n%URL%' }, { label: 'title', value: '%TITLE%' }, { label: 'anchor', value: '<a href="%URL%">%TITLE%</a>' }, { label: 'hatena', value: '[%URL%:title=%TITLE%]' }, ]; EOM " Show feed-button to statusbar :javascript <<EOF (function(){ var feedPanel = document.createElement('statusbarpanel'); var feedButton = document.getElementById('feed-button'); feedPanel.setAttribute('id','feed-panel-clone'); feedPanel.appendChild(feedButton.cloneNode(true)); feedButton.parentNode.removeChild(feedButton); document.getElementById('status-bar').insertBefore(feedPanel,document.getElementById('security-button')); })(); EOF " feedSomeKey_2.js autocmd LocationChange reader\\.livedoor\\.com/reader :fmap! j k s a p o v c <Space> <S-Space> z b < > autocmd LocationChange mail\\.google\\.com/mail :fmap! -depth 4 c / j k n p o u e x s r a # [ ] z ? gi gs gt gd ga gc autocmd LocationChange www\\.google\\.co\\.jp/reader :fmap! -vkey j k n p m s t v A r S N P X O gh ga gs gt gu u / ? " multi_requester.js js<<EOM liberator.globalVariables.multi_requester_mappings = [ [',a', 'alc'], [',w', 'wikipedia-ja'], ]; EOM " Mappings Key map <Left> gT map <Right> gt map <C-k> :tabopen<space>g<space> map <C-l> :tabopen<space> " Mappings Command map <C-a> :addons map <C-r> :restart map <C-s> :source ~/.vimperatorrc<CR> map <C-p> :source ~/.vimperator/plugin/ " Mappings plugin custom map ,t :twitter<space> map ,b :bmlhatebu<CR> map ,d :copy<space>hatena<CR> map ,l :tabopen<space>ldr<CR> map ,m :tabopen<space>inbox<CR> map ,c :tabopen<space>today<CR> echo ".vimperatorrc loaded"
~/.vimperator/plugin/の中
_libly.js
commandBookmarklet.js
direct_bookmark.js
gmperator.js
ldr_unread_counter.js
pluginManager.js
auto_source.js
copy.js
feedSomeKeys_2.js
haiku.js
multi_requester.js
twitter.js
以上