heroku run bash
curl https://s3.amazonaws.com/heroku-jvm-buildpack-vi/vim-7.3.tar.gz --output vim.tar.gz
mkdir vim && tar xzvf vim.tar.gz -C vim
export PATH=$PATH:/app/vim/bin
vim somefile
-
-
Save sfate/2889158 to your computer and use it in GitHub Desktop.
vim on heroku
still using this
this works great! thank you!
Still works. Thanks!
@sfate Just updated to the "heroku16" stack and this now fails with a missing shared library error
same =(
@KayDev @thomasdavis same here, I compiled a static vim that works here: https://gist.github.com/dvdbng/7375821b20f189c189ab1bd29392c98e
Great idea!
Does this have to be run as a shellscript? I try each line manually in the terminal and get: vim: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory
Though, @dvdbng's method worked for me.
I made a Heroku cli plugin that will allow one to use vim in a Heroku dyno via a heroku vim command: https://github.com/jasonheecs/heroku-vim
@jasonheecs: It works. Thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ha this came in use!