Use VIM on Heroku

Install VIM like so:

$ heroku plugins:install https://github.com/naaman/heroku-vim

Now open up your bash with VIM in the $PATH like so:

$ heroku vim (instead of heroku run bash)

However, even if you could edit the files with vi it probably wouldn't solve your problem because the file system is ephemeral. Meaning... If you edit a file via heroku run bash you aren't actually changing the file for other dynos. To change a file for all dynos you need to either change what you push in a Git repo or change the buildpack. More details: