Since the development of the latest vim is active, you are interested in the latest vim. I'm a light vimmer, but I'm still curious about the latest.
This information is almost as per the official page, but the official information is a bit old, so the purpose is to organize it so that it can be built on Ubuntu 20.04.
https://vim-jp.org/docs/build_linux.html
Also include the libraries and languages required for build python, ruby, lua, perl
sudo apt install -y git build-essential autoconf automake cproto gettext
sudo apt install -y libacl1-dev libgpm-dev libgtk-3-dev libtinfo-dev libxmu-dev libxpm-dev libncurses-dev
sudo apt install -y libperl-dev liblua5.2-0 liblua5.2-dev libluajit-5.1-dev lua5.2 luajit python-dev python3-dev ruby-dev
git clone https://github.com/vim/vim.git
./configure --prefix=/usr/local/ --with-features=huge --enable-multibyte --enable-gpm --enable-cscope --enable-perlinterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-acl --enable-fontset --enable-xim --enable-terminal --enable-fail-if-missing --with-luajit --with-x
make
sudo make install
Use ** --with-python3-command = ** to specify the python path for pyenv
--enable-python3interp --with-python3-command=$(echo $HOME)/.anyenv/envs/pyenv/shims/python
./configure --prefix=/usr/local/ --with-features=huge --enable-multibyte --enable-gpm --enable-cscope --enable-perlinterp --enable-python3interp --with-python3-command=$(echo $HOME)/.anyenv/envs/pyenv/shims/python --enable-rubyinterp --enable-luainterp --enable-acl --enable-fontset --enable-xim --enable-terminal --enable-fail-if-missing --with-luajit --with-x
make
sudo make install
When you wake up in the morning and start your PC, do git pull
to build and install it.
The latest vim experience is waiting for you.
Recommended Posts