emacs terminal mode: how to copy and paste efficiently

谁都会走 提交于 2019-12-05 00:45:22

This is not an ideal solution per se, but i figured out a way that I feel better than the previous one.

The idea is to get rid of X which causes heavy latency issues, i.e. keep only the following:

;; enable clipboard in emacs
(setq x-select-enable-clipboard t)

The results are:

  1. copy/paste within Emacs is straightforward and fast.

  2. copy from other apps to Emacs: Ctrl+Shift+v

  3. copy from Emacs to other apps: mouse selection is now on X Selection, so right-click and copy shall copy the text into the Selection. Note that 'M-w" now won't copy anything into Selection or system clipboard.

This is again a compromise rather than a solution, but considering the fact that i copy/paste more often than inter-app operations, this is acceptable at the moment.

Still looking forward to a good solution!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!