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