This is my vim 8 configuration. Use at your own risk.
Install libraries:
sudo yum install ncurses ncurses-devel libX11-devel libXt-devel xclip python3-devel
Build:
git clone https://github.com/vim/vim.git
cd vim/src
make distclean # if you built Vim before
./configure --with-features=huge --enable-pythoninterp --without-x --enable-gui=no --enable-python3interp --with-python3-config-dir=/usr/lib64/python3.6/config-3.6m-x86_64-linux-gnu
make
sudo make install
Install libraries:
sudo apt install python3-distutils libncurses-dev python-dev python3-dev
Build:
git clone https://github.com/vim/vim.git
cd vim/src
make distclean # if you built Vim before
./configure --with-features=huge --enable-pythoninterp --without-x --enable-gui=no --enable-python3interp --with-python3-config-dir=/usr/lib/python3.9/config-3.9-x86_64-linux-gnu/
make
sudo make install
- Use terminal config (
dconf load /org/mate/terminal/ < mate-terminal.conf
for mate-terminal) - Use the
inputrc
andscreenrc
files - Add the following line to your .vimrc (assuming vimp is checked out in the
home dir):
source ~/vimp/vimrc
- Install vim-plug
- Start vim and run
PlugInstall
- Restart shell
- Add this to .bashrc to make the terminal window title show current directory:
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s\007" "${PWD/#$HOME/\~}"'