Skip to content

Instantly share code, notes, and snippets.

@dvdbng
Last active December 22, 2023 18:00
Show Gist options
  • Save dvdbng/7375821b20f189c189ab1bd29392c98e to your computer and use it in GitHub Desktop.
Save dvdbng/7375821b20f189c189ab1bd29392c98e 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 'https://s3.amazonaws.com/bengoa/vim-static.tar.gz' | tar -xz
export VIMRUNTIME="$HOME/vim/runtime"
export PATH="$HOME/vim:$PATH"
cd -
@mjeng
Copy link

mjeng commented May 23, 2018

Getting an error where all the files on my one-off dyno are being overwritten when I run this script (in the heroku bash session). Is anyone else having this issue?

@pourmesomecode
Copy link

Sweet! Thanks :)

@bhushanjawle
Copy link

Thank you !

@anderson-giordani
Copy link

Sweet! Thanks

@wotori
Copy link

wotori commented Jun 21, 2018

Many thanks!

@hinok
Copy link

hinok commented Jul 4, 2018

Works!

@eliasdorneles
Copy link

Hi David! 😍
I just used this today, thanks for sharing! =)

@jasonheecs
Copy link

I made a Heroku cli plugin based on this gist that will allow one to use vim in a Heroku dyno via a heroku vim command: https://github.com/jasonheecs/heroku-vim

@nschmeller
Copy link

This worked for me! I had the same issue about loading shared object files, I came from this link: https://gist.github.com/btakita/7853541

@flameA
Copy link

flameA commented Mar 27, 2020

thanks

@sparcbr
Copy link

sparcbr commented Feb 12, 2021

I made a Heroku cli plugin based on this gist that will allow one to use vim in a Heroku dyno via a heroku vim command: github.com/jasonheecs/heroku-vim

This worked thanks

@lakwetu-tz
Copy link

awesome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment