I am unable to select a line in cygwin, atleast by using the traditional windows method of clicking and dragging the mouse curser across the line that i would like to select.

Is there a specific package that i need to install to be able to select a line of code in cygwin? or is there just another linux way?


I need to press shift and L mousebutton to select a text.

| improve this answer | |
  • are you using the Cygwin terminal ? – matzeri Nov 29 '18 at 7:06
  • yes, but from a different console with tabs. – yetti Dec 5 '18 at 20:36
  • but it is solved – yetti Dec 5 '18 at 20:36

Enable Mark Mode:

  • Hold Alt
  • Press Space
  • Select Edit
  • Click Mark

This will enter "Mark Mode" and allow you to select lines in the terminal screen.

To Paste:

This is pretty straight forward:

  • Click and drag your selection
  • Right Click to copy
  • Right Click again to paste (in the terminal), or just ctrl + v in another app to paste from clipboard

What you're looking for is bullet number 2. Once selected, right clicking will save this to your Windows clipboard. Right clicking in the cygwin terminal again will paste (if no selection is currently highlighted).

| improve this answer | |
  • my problem is that i am unable to select a line. – yetti Nov 28 '18 at 16:38
  • My apologies, misread the original post, check for the update – bgregs Nov 28 '18 at 16:43
  • my apologies, that i am stupid and didnt research all that i could, before coming here. – yetti Nov 28 '18 at 16:43
  • No need to apologize! This forum is meant for questions :) – bgregs Nov 28 '18 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.