LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   nano text editor and mouse settings under X (https://www.linuxquestions.org/questions/linux-software-2/nano-text-editor-and-mouse-settings-under-x-4175618973/)

coralfang 12-04-2017 07:21 PM

nano text editor and mouse settings under X
 
Hi, quick question about the nano text editor. I like using this setting in /etc/nanorc:
Code:

set mouse
as this allows faster navigation of a text file when browsing, let's me scroll with the wheel and is much faster than arrow keying my way across long lines.

However, when that setting is enabled, the X clipboard (middle click) no longer works for pasting into the editor. Is there any way i can allow the middle-click paste under X to function normally whilst the mouse option is enabled?

Thanks..

ondoho 12-05-2017 02:41 AM

Quote:

Originally Posted by coralfang (Post 5788914)
much faster than arrow keying my way across long lines.

tried PageUp/Down instead?

pan64 12-05-2017 02:49 AM

when you want to use X clipboard you need to allow X to handle the mouse events. If you want to handle those events by nano - obviously - X will not do anything. nano itself has no any idea if it is running in a GUI terminal or in a console.


All times are GMT -5. The time now is 04:50 PM.