Spacemacs using the mouse to copy paste

◇◆丶佛笑我妖孽 提交于 2020-01-01 05:32:06

问题


I quite often use the mouse to highlight text and then press cmd-c (Osx) to copy the highlighted text. However it seems that the cursor is not updated when I do this and so instead of copying the highlighted text to the register it copies from current cursor position to end of where I highlighted. What am I doing wrong? I dont want to keep remembering to click before select to move the cursor.

I am using evilmode.


回答1:


Put

(xterm-mouse-mode -1)

under user-config in your .spacemacs file should do the trick.



来源:https://stackoverflow.com/questions/37631440/spacemacs-using-the-mouse-to-copy-paste

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