LoginSignup
28
18

More than 5 years have passed since last update.

Homebrewで新しいバージョンのVimをインストールする

Posted at

MacにはデフォルトでVimがインストールされているが、新しいバージョンのVimを使いたかったので、Homebrewでインストールすることにした。

$ brew install vim --with-override-system-vi

--with-override-system-viのオプションをつけることで、vimコマンドが新しいバージョンの方を起動するようにする。

コマンドのパスとバージョンを確認。

$ which vim
/usr/local/bin/vim

$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr  8 2017 22:06:49)
MacOS X (unix) version
28
18
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
28
18