Compile Terminal Vim on macOS
The snippet can be accessed without any authentication.
Authored by
Ingo Meyer
-
Huge
features - Support for
- Ruby
- Python 3
- Perl
- Lua
compile_and_install.sh 664 B
#!/bin/bash
make distclean && \
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp \
--enable-python3interp \
--with-python3-config-dir="/usr/local/lib/python3.6/config-3.6m-darwin" \
--enable-perlinterp \
--enable-luainterp \
--with-lua-prefix="${HOME}/local" \
--enable-cscope \
--prefix="${HOME}/local" && \
make VIMRUNTIMEDIR="${HOME}/local/share/vim/vim80" && \
make install
if [ "$?" == "0" ]; then
pushd "${HOME}/local/bin"
install_name_tool -change liblua53.dylib "${HOME}/local/lib/liblua53.dylib" vim
popd
fi
Please register or sign in to comment