The *
register will do this.
(*
寄存器将执行此操作。)
In Windows, +
and *
are equivalent. (在Windows中, +
和*
是等价的。)
In unix there is a subtle difference between +
and *
: (在unix中, +
和*
之间存在细微差别:)
Under Windows, the * and + registers are equivalent.
(在Windows下,*和+寄存器是等效的。)
*
is probably what you want most of the time, so I use *
because it functions as I expect it to in both environments.
(*
可能是你大多数时候想要的,所以我使用*
因为它在两种环境中都能像我期望的那样运行。)
In Linux distros, for some reason, you have to install vim-gtk first to gain clipboard functionality.
(在Linux发行版中,出于某种原因,您必须首先安装vim-gtk才能获得剪贴板功能。)
And for those confused about how to use registers when yanking or putting, you merely write "
then the name of the register. So for copying something to the clipboard register you type "*y
and then to put you type "*p
(对于那些在yanking或put时如何使用寄存器感到困惑的人,你只需要写"
然后是寄存器的名称。所以为了将某些东西复制到剪贴板寄存器,你输入"*y
然后给你输入"*p
)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…