Migemized find に highlight コマンド追加

:hl siteinfo -c cyan
:highlight siteinfo -c cyan

で、こんなふうに
http://www.kurinton.net/~snca/blogfiles/mf_hl.jpg
なる。
"-c 色" を省略するとオレンジになる。
そのまま n を押せばそのワードで検索する。
消す場合は、

:removehighlight cyan
:removehighlight all
:rhl cyan
:rhl all

の何れか。

lookupDictionary.js で rc ファイルに追加辞書設定をかけるようにした。

辞書追加するのにスクリプトを書き換えるというのはアレなので、 .vimperatorrc などで辞書を追加できるようにした。
こんな具合。

js <<EOM
  liberator.globalVariables.lookupDictionary_site_definition = [
    {
      names: ['gigadictj'],
      url: 'http://cgi.geocities.jp/abelinternational/cgi/dicjp.cgi?word=%s&mode=search',
      shortHelp: 'GigaDict (和葡辞典)',
      multi: true,
      xpath: './table[1]/tbody/tr/td/table/tbody/tr',
    }
  ];
EOM

勝手コミット。
http://coderepos.org/share/changeset/20048
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/lookupDictionary.js
自分は、
http://d.hatena.ne.jp/nokturnalmortum/20080808#1218183528
のようにして、 .vimperatorrc.js に書いている。