13
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Vimproc を適切にロードする

Posted at

3種類のOS上でVimを使っているために、vimproc.dll のロード時に以下のようなエラーがでるのを何とかしたくて、調べてみました。
こんなので困るの私ぐらいだと思いますが、備忘録としてメモ。

エラー画面

設定例

OSの種類に応じて適切なvimproc がロードされるように、以下のように書きます。

パスは適宜ご自分の環境に合わせてください。

  • Mac OS X Mountain Lion
  • Windows7(32bit)
  • Windows7(64bit)
.vimrc
if has('mac')
  let g:vimproc_dll_path = $VIMRUNTIME . '/autoload/vimproc_mac.so'
elseif has('win32')
  let g:vimproc_dll_path = $HOME . '.vim/bundle/vimproc/autoload/vimproc_win32.dll'
elseif has('win64')
  let g:vimproc_dll_path = $HOME . '.vim/bundle/vimproc/autoload/vimproc_win64.dll'
endif
13
14
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
13
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?