Spacemacs using the mouse to copy paste

2020-07-10 08:57发布

问题:

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.



标签: spacemacs