Timeline for Copy-paste for vim is not working when mouse (:set mouse=a) is on?
Current License: CC BY-SA 3.0
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 26, 2018 at 17:44 | review | Suggested edits | |||
| Aug 27, 2018 at 12:20 | |||||
| Jan 12, 2015 at 22:28 | comment | added | Vincent Scheib | This answer doesn't seem right: mouse=r or mouse=v disable vim controlling the selection, resulting in line numbers from set number to appear in copied text. | |
| Jul 11, 2014 at 14:09 | comment | added | bgrif | I have also edited my answer so it will be easier to see for everyone else. Hopefully the information I have given you does the trick | |
| Jul 11, 2014 at 14:08 | history | edited | bgrif | CC BY-SA 3.0 | added more information |
| Jul 11, 2014 at 13:43 | comment | added | bgrif | One more thing that I have found out is people are changing the mouse=a to mouse=v and have all the functions back. Now i know that mouse=r works and lets you copy and paste out of the vim file just fine. But change it to mouse=v and see if that fixes the rest of the issues you were having when coping into it. A lot of people seem to have the same issue and have sent in bug reports and were told the same thing I said and change it to mouse=r or mouse=v | |
| Jul 11, 2014 at 13:39 | comment | added | bgrif | I have done a lot of research on where --with-x=yes needs to be placed. The --with-x=yes is its own stand alone inside the vimrc. But what happened is that mouse=a was supposed to replace that option and make everything work again. But it just has created a big problem for them. Dolby has made posts about it and they came up with a work around to get the old settings that worked right in the first place. you can install the older vim packages like gvim to work with the new ones and it will bring back all the old settings that worked. | |
| Jul 8, 2014 at 20:49 | history | bounty awarded | CommunityBot | ||
| Jul 7, 2014 at 15:06 | comment | added | bgrif | Let me research if you need to combine --with-x=yes to set mouse=a. When i was reading up on it all i saw was it was by itself in the config file. But it could be different so I want to make sure that I tell you the right thing that will work for you. | |
| Jul 7, 2014 at 14:59 | comment | added | Charlie Parker | Also, your first suggestion (:set moutse=r) solved half the problem, now I can paste from vim to the outside! Though, when I paste back it inserts a lot of extra spaces randomly and it doesn't respect the indentation from the original text... :( | |
| Jul 7, 2014 at 14:57 | comment | added | Charlie Parker | just --with-x=yes? I do not need to put :set --with-x=yes mouse=a or something? Could you clarify what you mean? | |
| Jul 3, 2014 at 16:44 | comment | added | bgrif | another thing do you have --with-x=yes in your .vimrc file. If this isn't in there a lot of the copy and paste methods don't work properly. | |
| Jul 3, 2014 at 16:39 | history | edited | bgrif | CC BY-SA 3.0 | edited body |
| Jul 3, 2014 at 16:38 | comment | added | bgrif | it is a commmand. But I looked further into it and some people had the same issue. it is due to a patch that disabled mouse=x. they made it mouse=r instead. I don't know why but thats what they did. i will modify my post to be mouse=r | |
| Jul 3, 2014 at 16:19 | comment | added | Charlie Parker | I did the command :set mouse=x in my vim command and it said E539: Illegal character <x>: mouse=x, you sure there is such a command? I tried to see if it was an option when I did help mouse in vim and nothing came up. | |
| Jul 3, 2014 at 16:10 | comment | added | bgrif | that is what I mean. That is my mistake on asking it like that. you need to change it to mouse=x..... | |
| Jul 3, 2014 at 15:57 | comment | added | Charlie Parker | I don't know what your question means: one thing I am wondering is, are you changing the config file for your vim with the mouse set to mouse=a? You mean if I have :mouse=a on in my .vimrc file? I do have :mouse=a in my .vimrc file file. | |
| Jul 3, 2014 at 15:31 | comment | added | bgrif | also have you tryed highlighting the the text and use you mouse middle button to past into another place. that tends to work better when tryng to Ctrl+v and Ctrl+c | |
| Jul 3, 2014 at 15:24 | history | answered | bgrif | CC BY-SA 3.0 |