Emacs:如何将kill ring与系统剪贴板分开? [英] Emacs: How to separate the kill ring from the system clipboard?
问题描述
默认情况下,Emacs 23.x似乎将杀死的内容复制到kill ring和系统剪贴板。可以将kill ring和剪贴板分开吗?
By default Emacs 23.x seems to copy content that's killed to the kill ring and to the system clipboard. Is it possible to keep the kill ring and clipboard separate?
像ctrl + k中的东西放在kill ring上,cmd + x将东西放在系统剪贴板上,
As in, ctrl+k puts stuff on the kill ring, cmd+x puts stuff on the system clipboard and leaves the kill ring alone.
推荐答案
在这个线程:
如果我做一个
选择Windows的方式并执行Ctrl-C或CTRL-Insert,然后选择所需的
应被复制到剪贴板。
if I do a selection the Windows way and do a Ctrl-C or CTRL-Insert, then whatever I selected should be copied to the clipboard.
I认为没有办法开箱即用,但您应该是
可以编写一个简单的命令,调用x-select-text,并将
绑定到所需的任何键。
I think there's no way of doing this out of the box, but you should be able to write a simple command that calls x-select-text, and bind it to whatever keys you want.
这篇关于Emacs:如何将kill ring与系统剪贴板分开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!