Created
January 28, 2020 13:20
-
-
Save yunlingz/a25e873863065cf0a5ad4851342818b6 to your computer and use it in GitHub Desktop.
Build vim from src on macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # brew install gettext lua perl python (ruby) | |
| ./configure --prefix=$HOME/opt/vim \ | |
| --with-features=huge \ | |
| --enable-multibyte \ | |
| --enable-cscope \ | |
| --with-compiledby="chuling <[email protected]>" \ | |
| --enable-perlinterp \ | |
| --enable-rubyinterp \ | |
| --enable-python3interp \ | |
| --with-python3-config-dir=$($(brew --prefix python3)/bin/python3-config --configdir) \ | |
| --enable-luainterp \ | |
| --with-lua-prefix=$(brew --prefix lua) \ | |
| --enable-terminal \ | |
| --enable-gui=no \ | |
| --with-x=no \ | |
| --enable-fail-if-missing | |
| # add these to your ~/.*profile | |
| # export PATH="$HOME/opt/vim/bin:$PATH" | |
| # export MANPATH="$HOME/opt/vim/share/man:$MANPATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment