问题
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