Skip to content

Instantly share code, notes, and snippets.

@stepantubanov
Last active October 12, 2015 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stepantubanov/3993184 to your computer and use it in GitHub Desktop.
Save stepantubanov/3993184 to your computer and use it in GitHub Desktop.
vim
git clone https://github.com/vim/vim.git
cd vim
./configure --prefix=/usr/local --without-x --disable-nls --with-tlib=ncurses --enable-multibyte --enable-rubyinterp --enable-pythoninterp --with-features=huge
make
# This is to fix non-ascii characters in this file (should be fixed soon in stable release)
iconv -c -t UTF-8 ./runtime/tools/efm_perl.pl > ./runtime/tools/efm_perl.pl
sudo make install
# This copies vim file with symbols (otherwise it'll fail to run)
sudo cp src/vim /usr/local/bin/vim
sudo ln -f /usr/local/bin/vim /usr/local/bin/vi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment