Vim Gui - pierregermain/MyTux GitHub Wiki

Vim Gui

Tested on:

This installs Vim 8.0 on
Linux Mint 17 (Ubuntu 14.04)
Linux Mint 18 (Ubuntu 16.04)
Opensuse Leap 15

Download Vim

git clone https://github.com/vim/vim.git

Get Core Dependencies

# Dependencies (Ubuntu)
sudo apt-get install libncurses5-dev libgnome2-dev libgnomeui-dev \
  libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \
  libcairo2-dev libx11-dev libxpm-dev libxt-dev
# Dependencies (Suse) are similar in name
If you want python2 support
sudo apt-get install python-dev
If you want python3 support
sudo apt-get install python3-dev
If you want lua support

1 - Download

sudo apt-get install liblua5.1-dev

Binaries at Binaries at http://lua-users.org/wiki/LuaBinaries

2 - Copy Files copy all files from /usr/include/lua5.1/ to /usr/include/lua5.1/include/

3 - Make symlink

sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.so /usr/local/lib/liblua.so

Installing Vim

cd vim
cd src
make distclean

###### With Python2 Support
./configure --with-features=huge --enable-gui=auto \
 --enable-pythoninterp=yes \
 --with-python-config-dir=/usr/lib64/python2.7/config

###### With Python3 Support
./configure --with-features=huge --enable-gui=auto --enable-python3interp

###### With Lua Support
./configure --with-feature=huge --enable-gui=auto \
 --enable-luainterp=yes \
 --with-lua-prefix=/usr/include/lua5.1

make
sudo make install

Did it work?

vim --version
vim --version|grep python
vim --version|grep lua

If not working search for a file called config.log

Must Have Plugins