'gedit - ENable middle-mouse copy/paste

On Ubuntu 20 gedit, I want to copy/paste with middle-mouse button (MMB) as such: highlight a string, move the cursor and click with MMB to paste it again.

However, I didn't find this setting in gnome-tweaks - how to do it?

Thank you!



Solution 1:[1]

As far as I know, the problem with gedit is that when you click again somewhere else (without any selection), your selected text will be replaced! So, when you select something, just use the middle-click to paste the selection.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 eta32carinae