Skip to content

Instantly share code, notes, and snippets.

@Liam0205
Created November 2, 2018 03:17
Show Gist options
  • Save Liam0205/850ed65fbd36aed053c2405d963055c6 to your computer and use it in GitHub Desktop.
Save Liam0205/850ed65fbd36aed053c2405d963055c6 to your computer and use it in GitHub Desktop.

Revisions

  1. Liam0205 created this gist Nov 2, 2018.
    11 changes: 11 additions & 0 deletions install_vim.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    #!/bin/bash

    git clone https://github.com/vim/vim.git --depth=1
    cd vim
    make -p $HOME/local/bin
    ./configure --prefix=$HOME/local/vim --enable-multibyte --with-tlib=tinfo --enable-pythoninterp --enable-rubyinterp --with-ruby-command=/usr/bin/ruby --with-features=huge
    make -j24
    make install
    cd $HOME/local/bin
    for file in $(ls $HOME/local/vim/bin); do ln -sf $HOME/local/vim/bin/$file $file; done
    cd $HOME