Skip to content

Instantly share code, notes, and snippets.

Last active July 7, 2019 19:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
AUTHOR="Maciej Sypień <>"
if [ -z "$_command" ]; then
printf "clear|install|uninstall\n"
exit 1
if [ -d "/tmp/vim" ]; then
cd /tmp/vim && sudo make uninstall
sudo apt-get update -y
sudo apt-get remove -y --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common
sudo apt-get install -y liblua5.1-dev luajit libluajit-5.1
sudo apt-get install -y python-dev python3-dev ruby-dev libperl-dev mercurial libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev
cd /tmp || exit
rm vim/ -rf
git clone
cd vim/
./configure --with-features=huge \
--enable-multibyte \
--enable-gui=auto \
--enable-gtk2-check \
--enable-gtk3-check \
--enable-gnome-check \
--enable-cscope \
--enable-largefile \
--enable-pythoninterp=dynamic --with-python-config-dir=$(python-config --configdir) \
--enable-python3interp=dynamic --with-python3-config-dir=$(python3-config --configdir) \
--enable-perlinterp \
--enable-rubyinterp=dynamic \
--enable-luainterp=dynamic \
--with-luajit \
--with-x \
--prefix=/usr \
--with-compiledby=${AUTHOR} \
make VIMRUNTIMEDIR=/usr/share/vim/vim81
sudo make "${_command}"
Copy link

egel commented Feb 21, 2017

How to install?

cd /tmp
wget -O 
chmod a+x
./ install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment