Skip to content

Instantly share code, notes, and snippets.

@kunev
Created November 14, 2018 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunev/c8d39cfdba1d3a48a6b6c2765de07a37 to your computer and use it in GitHub Desktop.
Save kunev/c8d39cfdba1d3a48a6b6c2765de07a37 to your computer and use it in GitHub Desktop.
Configure and install vim from source on debian based distros the way I like it
#!/bin/bash
function config() {
./configure \
--with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-pythoninterp=yes \
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \
--enable-python3interp=yes \
--with-python3-config-dir=/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-gui=gtk2 \
--enable-cscope \
--prefix=/usr/local
}
config && make && sudo checkinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment