安装编译vim
获取源码
1 | git clone https://github.com/vim/vim.git |
Github地址:https://github.com/vim/vim.git
编译安装
mac
前提条件
- Xcode
- CommandLineTools
检查CommandLineTools
1 | make --version |
编译默认安装vim
1 | cd vim/src |
error
If you get an error “glibtool: command not found” search on stackoverflow for
mac-osx-where-can-i-download-glibtool.With Homebrew, run:
brew install libtoolTo build libtool from source:
1. Download the source code from https://www.gnu.org/software/libtool/. 2. Run these commands from the root of the source code directory: ./configure --program-prefix=g make sudo make install


