* 辞書ファイルによる補完 - dictionary [#k1396254]

** 辞書ファイルのパスの指定 [#h6902212]
 set dictionary = $VIM/vimfiles/dict/my.dict

*** 複数の辞書ファイルのパスの指定 [#z6bd2f37]
 let $MYDICT1 = $HOME . '.vim/dict/my1.dict'
 let $MYDICT2 = $HOME . '.vim/dict/my2.dict'
 
 function! SetDict()
   let files = [expand($MYDICT1), expand($MYDICT2)]  
   let &dict = join(files, ',')
 endfunction
 
 call SetDict()

** 辞書ファイルの中身 [#ke608ef8]

 apple
 banana
 orange
 lemon
 melon
 grape

- 1行に1単語を記述する。

** 参考 [#ud6e9cb7]
- http://nanasi.jp/articles/howto/config/dictionary.html

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS