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
  • 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
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