更新时间:2021-09-21 02:27:07
export PATH=/usr/local/bin:$PATH
brew update
brew install vim &&brew install macvim
brew link macvim
您现在拥有由 brew 管理的最新版本的 vim 和 macvim.运行 brew update &&brew upgrade
每隔一段时间升级一次.
You now have the latest versions of vim and macvim managed by brew. Run brew update && brew upgrade
every once in a while to upgrade them.
这包括安装 CLI mvim
和 mac 应用程序(两者都指向同一事物).
This includes the installation of the CLI mvim
and the mac application (which both point to the same thing).
我使用这个设置,它的作用就像一个魅力.Brew 甚至负责使用首选选项安装 vim.
I use this setup and it works like a charm. Brew even takes care of installing vim with the preferable options.