Ubuntu – How to move the blinking cursor with the mouse in nano editor

nano

I am writing a text file through the terminal using nano; everytime I need to select a position of a certain line of my text I can't help but scrolling all the lines moving the blinking cursor using the keyboard arrows; is there a way to avoid this and just use the mouse to directly select where I want the cursor to be?

Best Answer

You can start nano with the -m (--mouse) option. From man nano

   -m (--mouse)
          Enable  mouse  support,  if  available  for  your system.  When
          enabled, mouse clicks can be used to place the cursor, set  the
          mark  (with  a double click), and execute shortcuts.  The mouse
          will work in the X Window System, and on the console  when  gpm
          is running.
Related Question