Skip to content

Instantly share code, notes, and snippets.

@isokcevic
Last active April 28, 2017 21:19
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 isokcevic/ab8b9ce16ab3a522321f to your computer and use it in GitHub Desktop.
Save isokcevic/ab8b9ce16ab3a522321f to your computer and use it in GitHub Desktop.
vim with "everything"
## probably NOT an optimal way, but this should give +clipboard, +python, +ruby and +xterm_clipboard
## tested ONLY on Ubuntu server 14.04
# tools etc
sudo apt-get -y install git curl ssh tmux mercurial
# libraries for ruby and vim ruby support
sudo apt-get -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libncurses5-dev automake libtool bison subversion ruby-dev
# libs for python vim support
sudo apt-get -y install python python-dev
# libs for vim clipboard support
sudo apt-get -y install libx11-dev libxtst-dev libxt-dev libsm-dev libxpm-dev
# remove (some of possibly) alrady present vim installation(s)
sudo apt-get -y purge vim vim-gnome vim-gtk vim-tiny vim-scripts
# get source
git clone https://github.com/vim/vim
cd vim
./configure --with-features=huge --enable-pythoninterp --enable-rubyinterp --enable-gui=auto --enable-gtk2-check --enable-gnome-check --with-x --enable-multibyte
# this may take a while
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment