Last active
August 29, 2015 13:56
-
-
Save rendon/9160204 to your computer and use it in GitHub Desktop.
Instructions to compile Vim 7.4 in Debian with GUI support.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
./configure --with-x --with-features=huge --enable-rubyinterp \ | |
--enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config \ | |
--enable-gui=gtk2 --enable-cscope --prefix=/usr --enable-gtk2-check | |
make VIMRUNTIMEDIR=/usr/share/vim/vim74 | |
sudo make install | |
#Set vim as your default editor with update-alternatives. | |
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/vim 1 | |
sudo update-alternatives --set editor /usr/bin/vim | |
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/vim 1 | |
sudo update-alternatives --set vi /usr/bin/vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment