Vim - the text editor - for Mac OS X
- MacVim homepage http://macvim-dev.github.io/macvim
- Vim README https://github.com/macvim-dev/macvim/blob/master/README_vim.md
- Cumstom Build
cd src./configure --with-features=huge --enable-rubyinterp --enable-perlinterp --enable-python3interp --with-python3-config-dir=MY_PYTHON3_CONFIG_DIRmake
If you are using python3.4: python3.4-config --configdir
You will get like this path: /usr/local/opt/pyenv/versions/3.4.3/lib/python3.4/config-3.4m
If you get this error:
ERROR: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
then,
- run XCode
- open Preferences > Locations
- Select an item in
Command Line Tools
cd MacVim/build/Release/MacVim.app
- run
ln -s /Applications/MacVim.app/Contents/bin/mvim /usr/local/bin/mvim - set alias in your shell rc file like
~/.zshrc:alias vi="/usr/local/bin/mvim"
reference https://github.com/macvim-dev/macvim/wiki/FAQ
To use webdevicon with airline-powerline, set like this:
set guifont=Roboto\ Mono\ Light\ Nerd\ Font\ Complete\ Mono:h13
this requires customized font. Download and install you want: https://github.com/dokenzy/nerd-fonts