Spacemacs using the mouse to copy paste
Asked Answered
N

1

6

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.

Numbersnumbfish answered 4/6, 2016 at 14:38 Comment(0)
T
13

Put

(xterm-mouse-mode -1)

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

Toms answered 6/6, 2016 at 19:36 Comment(5)
Thanks for the reply but this isnt the problem. I'll have to try more accurately recreate this.Numbersnumbfish
This is by far the simplest solution I have found.. thank you.Spinoff
Thanks that's what I was looking for :)Astra
WOW THANKS! took me forever.Duhon
The only user-config there is in my .spacemacs file is a function defPortauprince

© 2022 - 2024 — McMap. All rights reserved.