I'm using heroku, and I've logged gotten access to bash using heroku run bash
. I found out it was possible to install vim on heroku with this shell script:
#!/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
I am now wanting to take text I yank from vim on Heroku and paste it into other editors.
To be clear, this is what I am trying to fix:
I yank all the text in a file to a vim buffer (using yG
for instance,) but then I want to use what I've yanked by pasting it into an application like Sublime Text I'm running locally. I've also tried "*yG
. That didn't work either.
I have a vague idea why this isn't working (the buffer I'm copying to is only accessible on the server,) but isn't there someway to do this besides selecting using the terminal?