Skip to content

Instantly share code, notes, and snippets.

@sfate
Forked from naaman/vim-on-heroku.sh
Created June 7, 2012 14:39
Show Gist options
  • Star 49 You must be signed in to star a gist
  • Fork 18 You must be signed in to fork a gist
  • Save sfate/2889158 to your computer and use it in GitHub Desktop.
Save sfate/2889158 to your computer and use it in GitHub Desktop.
vim on heroku
#!/usr/bin/env 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
@thomasdavis
Copy link

ha this came in use!

@thomasdavis
Copy link

still using this

@pcsanwald
Copy link

this works great! thank you!

@kavdev
Copy link

kavdev commented May 24, 2017

Still works. Thanks!

@kavdev
Copy link

kavdev commented Jun 2, 2017

@sfate Just updated to the "heroku16" stack and this now fails with a missing shared library error

@thomasdavis
Copy link

same =(

@dvdbng
Copy link

dvdbng commented Jul 20, 2017

@KayDev @thomasdavis same here, I compiled a static vim that works here: https://gist.github.com/dvdbng/7375821b20f189c189ab1bd29392c98e

Copy link

ghost commented Jul 1, 2018

Great idea!

@joeflack4
Copy link

joeflack4 commented Oct 5, 2018

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.

@jasonheecs
Copy link

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

@shinokada
Copy link

@jasonheecs: It works. Thanks.

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