从git地址下载,然后编译安装。
Using git
This is the simplest and most efficient way to obtain the latest version, including all patches. This requires the "git" command.
The explanations are on the GitHub page.
git clone https://github.com/vim/vim.git
cd vim/src
make
make install