如何从一个拆分中复制并粘贴到byobu中? [英] How to copy from one split and paste in another in byobu?
问题描述
因此,假设我在byobu中有两个并排打开的分割区.此外,两个拆分都在vim中打开了不同的文件.我想突出显示一个拆分中一个文件中的文本,然后将其复制到另一个拆分中的单独文件中.有任何想法吗?
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?
我在搜索时发现的所有结果都谈到了使用回滚功能复制并粘贴byobu的功能,但这似乎只能在单个拆分内完成;而不是分裂.
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.
推荐答案
就像我快速发布的一样;似乎已经找到了解决方案.我按照此处找到的步骤进行操作:
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
我遵循了以下步骤:
shift-f3
-移至要复制的副本
alt-pgup
-进入复印模式
space
-开始选择
通过期望的文本光标
enter
-结束选择
shift-f3
-将焦点移至拆分以复制到
shift-f3
- shift focus to split to copy to
确保接收vim处于插入模式
ensure receiving vim is in insert mode
alt-insert
-粘贴所选文本
这篇关于如何从一个拆分中复制并粘贴到byobu中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!