Skip to content

Instantly share code, notes, and snippets.

@maciakl
Created October 3, 2012 14:24
Show Gist options
  • Save maciakl/3827188 to your computer and use it in GitHub Desktop.
Save maciakl/3827188 to your computer and use it in GitHub Desktop.
Compiling Vim 7.3 from source with no root
#!/bin/bash
mkdir ~/local
mkdir ~/build
export TARGET_DIR="$HOME/local"
cd ~/build
hg clone http://hg.debian.org/hg/pkg-vim/vim
cd vim
hg checkout unstable
./configure --with-features=huge --enable-cscope --enable-pythoninterp --enable-rubyinterp --enable-perlinterp --enable-multibyte --prefix="$TARGET_DIR"
make
make install
## in .bashrc
export PATH="$PATH:$HOME/local/bin"
alias vim="$HOME/local/bin/vim"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment