News for hackers. Stuff that matters.
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?
Re:Tmux and Vim – better together by palunon on Thursday April 20, 2017 @08:56AM (#14156206)
You could use "y (and/or "+y, depending on your X clipboard setup) to yank to your clipboard. Similarly, "p paste from it.
Re:Tmux and Vim – better together by sullyj3 on Thursday April 20, 2017 @12:27PM (#14158155)
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.
Re:Tmux and Vim – better together by yorwba on Thursday April 20, 2017 @09:03AM (#14156255)
HN garbled your "* y, but I understood anyway. Thanks!
Re:Tmux and Vim – better together by deanstag on Thursday April 20, 2017 @08:49AM (#14156157)
https://github.com/wincent/clipper is what i have been using for clipboard integration. It is useful for remote server clipboard syncing too.