News for hackers. Stuff that matters.
Re:Vim Anywhere by davidbanham on Saturday February 17, 2018 @07:05AM (#16400335)
I love the idea! I often open up vim to edit some stuff, save it in a temp file, then copy it. I never realised I needed a more streamlined version but after seeing this it hit me like a brick.

I don't think I need that much scaffolding, though. I just knocked this together:

    #!/bin/bash
    vim /tmp/everyvim && cat /tmp/everyvim | xclip -sel clip -i

There are no comments on this comment yet.