Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

thomasdavis commented Mar 26, 2016

ha this came in use!

@thomasdavis

This comment has been minimized.

Copy link

thomasdavis commented Sep 7, 2016

still using this

@pcsanwald

This comment has been minimized.

Copy link

pcsanwald commented Jan 26, 2017

this works great! thank you!

@kavdev

This comment has been minimized.

Copy link

kavdev commented May 24, 2017

Still works. Thanks!

@kavdev

This comment has been minimized.

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

This comment has been minimized.

Copy link

thomasdavis commented Jun 20, 2017

same =(

@dvdbng

This comment has been minimized.

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

@ghost

This comment has been minimized.

Copy link

ghost commented Jul 1, 2018

Great idea!

@joeflack4

This comment has been minimized.

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

This comment has been minimized.

Copy link

jasonheecs commented Dec 31, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.