LoginSignup
5
5

More than 5 years have passed since last update.

vimからref.vimでalc辞書を引く

Posted at

ref.vimがインストールされていること。テキストブラウザとしてw3m, elinksなどを試したが、文字化け。結局lynxで成功した。

% brew install lynx
% vim /usr/local/Cellar/lynx/2.8.7/etc/lynx.cfg
 => CHARACTER_SET:utf-8
% vim ~/.vimrc
 => let g:ref_alc_encoding = 'utf-8'
 => let g:ref_alc_start_linenumber = 44

ここまでできたらvimを開いた状態で

:Ref alc word

とすれば辞書が引ける。

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5