Re:Tmux and Vim – better together
by yorwba on Thursday April 20, 2017 @08:43AM
(#14156104)
Expecting terminal programs to interact sanely with mouse gestures is somewhat futile. If I need to paste something from a vim buffer into a graphical application, I use :'<,'>!xsel -bi to copy the text. If I were doing it more often, I would probably add a keybinding to streamline the process, and solve minor annoyances like having to undo to get the copied lines back. Maybe there is a good plugin for clipboard integration?
[ Parent
| on HN ]
You could use "y (and/or "+y, depending on your X clipboard setup) to yank to your clipboard. Similarly, "p paste from it.
I always forgot which of + and * works and end up having to try both. I think I looked up the difference once, but I didn't retain the information.
HN garbled your "* y, but I understood anyway. Thanks!
https://github.com/wincent/clipper is what i have been using for clipboard integration. It is useful for remote server clipboard syncing too.