![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How to prevent middle mouse click to move the cursor but still poaste the clipboard ?
This is a linux only issue. When i'm typing a text editing box, i use the select text/middle click gesture to copy/paste text.
But the middle click not only paste the selected text but move the cursor at the actual mouse position before. I don't want this behavior, because : 1. I work a lot with vim, where you don't mouve the cursor using the mouse, so i must change my habit when i'm using firefox. 2. When i middle click, event if i put the mouse in the right place, i might mouve it a bit and the text will be pasted on the wrong place
I've been looking in the about:config and the only related option is middlemouse.paste; If i put it to false, the middle click button does not mouve the cursor, nor does it paste.
Any idea how to achieve that ?
Wszystkie odpowiedzi (8)
Have you tried using the hot keys?
you mean ctrl-V ?
Actually there is two different clipboard in use One is tue usual copy paste, trough the right click or ctrl-c ctrl-v
the other using selection/middle click
Ahh. Well use the normal hot key then. BTW, the second clipboard, does it have a settings menu? Check it if you can. Happy Computing.
Hum, the problem is i don't use normal hot keys. It is not supported by vim, neither by my window manager. I need and want to use the select/middle mouse gesture.
What do you mean by settings menu ? i can't find any settings menu for any clipboard in firefox.
I don't know Linux and hoped there were settings for it.
This is indeed a linux specific problem. I hope somebody else could try and answer.
I do not find the cursor moving on me if I use middle-click to paste text or url that is in that I highlighted into clipboard. Whether I used my Logitech MX510 or the T-CH!!/T-CL13 trackballs that I use now.
The right-click and copy selection then right-click and paste to paste contents where Caret is method can be more precise though.
FredMcD, if you have not used Linux then maybe you should not be replying to questions that are Linux specific. Same with Mac OSX.
Zmodyfikowany przez James w dniu
That is strange, i did not expect different behavior. Here is my configuration : ArchLinux Awesome WM Firefox 27.0
I've just tested again : 0. Select some text 1. Left Click anywhere in the "Post a reply" edit text, with already some text in it. 2. Move the mouse between other character, where the cursor is not currently 3. Middle click : mouve the cursor and copy the text
It may not be related to firefox. i'll let you know.