How to copy from one split and paste in another in byobu?

Ross Allen picture Ross Allen · Sep 19, 2014 · Viewed 7.1k times · Source

So let's say I have two splits open in byobu, side by side. Furthermore, both splits have different files open in vim. I want to highlight text from one file in one split and copy it to a separate file in the other split. Any ideas?

All the results I found while searching for this talked about using the scrollback feature to copy and paste in byobu, however, that only seems to work inside a single split; not across splits.

Answer

Ross Allen picture Ross Allen · Sep 19, 2014

Looks like I posted to quickly; seemed to have found the solution. I followed the steps found here:

http://linuxcommand.org/lc3_adv_termmux.php

I followed the steps:

shift-f3 - move to split to be copied from

alt-pgup - enter copy mode

space - start selection

cursor through desired text

enter - end selection

shift-f3 - shift focus to split to copy to

ensure receiving vim is in insert mode

alt-insert - paste selected text