Skip to content

Instantly share code, notes, and snippets.

@DavidMikeSimon
Forked from sfate/vim-on-heroku.sh
Created July 15, 2019 21:57
Show Gist options
  • Select an option

  • Save DavidMikeSimon/d4ab3dffdfd35b687e4ebc6adf6da19b to your computer and use it in GitHub Desktop.

Select an option

Save DavidMikeSimon/d4ab3dffdfd35b687e4ebc6adf6da19b to your computer and use it in GitHub Desktop.
vim on heroku
set -e
if [[ ! -d ~/vim ]]; then
echo "Downloading vim..."
mkdir ~/vim
cd ~/vim
# Staically linked vim version compiled from https://github.com/ericpruitt/static-vim
# Compiled on Jul 20 2017
curl -s -S -o vim-static.tar.gz 'https://s3.amazonaws.com/bengoa/vim-static.tar.gz'
echo "8f5d8dfc6006570bf223b1fb81ca63a2 vim-static.tar.gz" | md5sum -cw
tar xf vim-static.tar.gz
cd ~
fi
~/vim/vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment