42
42

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.

homebrewで最新のvim7.4をインストールする方法

Last updated at Posted at 2013-10-09

なんで更新したいかというと、neocomplete.vimを使いたいため
”It requires Vim 7.3.885 or above and "if_lua" enabled Vim”

$brew install lua
$which vim
=>/usr/bin/vim

$brew install vim --devel --with-lua
これで入るが、デフォルトでは使えない
今回入れたvimは
/usr/local/bin/vimに入っているので
PATHでこちらのvimを使うようにする

私はzshなので
~/.zshrcにPATHの設定を書く
export PATH=/usr/local/bin:/usr/bin

その後、読み込む
$source ~/.zshrc

$which vim
=> usr/local/bin/vim

完了!

42
42
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
42
42

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?