Skip to content

Instantly share code, notes, and snippets.

@hiAndrewQuinn
Created April 8, 2023 06: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 hiAndrewQuinn/6ce2956f21104ae961c5adc99ab37899 to your computer and use it in GitHub Desktop.
Save hiAndrewQuinn/6ce2956f21104ae961c5adc99ab37899 to your computer and use it in GitHub Desktop.
# recompile vim with clipboard support
sudo apt-get update
sudo apt-get install build-essential libncurses-dev libgtk2.0-dev libatk1.0-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python3-dev ruby-dev lua5.1 liblua5.1-dev libperl-dev git
git clone https://github.com/vim/vim.git
cd vim/src
./configure --with-features=huge --enable-gui=auto --enable-python3interp --with-python3-config-dir=/usr/lib/python3.9/config-3.9-x86_64-linux-gnu --enable-rubyinterp --enable-luainterp --enable-perlinterp --enable-cscope --prefix=/usr/local --with-x --enable-gnome-check --with-compiledby=YourName --with-clipboar
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment