Alternatively, how can you dump the contents of your clipboard to a text file? If at all possible, I'd like this for the actual clipboard, but also the clipboard delegated to highlighted text, and even vim's if you can manage it.
I figure if you can at least echo it, then you should be able to >
into a file pretty easily.
*
or+
registers, in which case it uses the clipboard(s) – muru Jan 25 '17 at 06:42