Skip to content

Instantly share code, notes, and snippets.

@jdowning
Forked from dvdbng/vim-heroku.sh
Last active April 19, 2018 19:24
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 jdowning/50cfef41d84653a01f0442514ed50bfb to your computer and use it in GitHub Desktop.
Save jdowning/50cfef41d84653a01f0442514ed50bfb to your computer and use it in GitHub Desktop.
Run vim in heroku updated 2017
mkdir ~/vim
cd ~/vim
# Staically linked vim version compiled from https://github.com/ericpruitt/static-vim
# Compiled on Jul 20 2017
curl --silent 'https://s3.amazonaws.com/bengoa/vim-static.tar.gz' | tar -xz
cat <<EOF > $HOME/vimenv
export VIMRUNTIME="$HOME/vim/runtime"
export PATH="$HOME/vim:$PATH"
alias vi=vim
EOF
cd $HOME
echo "vim is installed. you will need to type 'source vimenv' to put it in your PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment