vim Mac OS X install with gui-support
Building Vim on Mac OS X is a waste of time.
Step 1: Download the appropriate MacVim build from here.
Step 2: Put MacVim.app into the /Applications/
directory.
Step 3: Put the bundled mvim
script somewhere in your PATH
.
Done.
To run MacVim in your shell:
$ mvim -v filename
To run MacVim from your shell:
$ mvim filename
Building Vim with GUI on macOS using Homebrew:
brew edit vim
.Add a new line with
option
for GUI:option "enable-gui", "Enable GUI mode"
Change from
no
toyes
in the following line:opts << "--enable-gui=no"
Install or re-install vim:
brew reinstall vim --enable-gui
Troubleshooting:
- If you've errors related to Python 3, see: vim's GH-2754.
- Checkout new Homebrew PR at GH-25785 with above patch.