3

I know you can highlight text with the mouse, but can this be done in a terminal on Linux/MacOSX with the keyboard only? I've tried using shift and other commands with the arrow keys to no avail.

Is this not possible with the keyboard?

  • Linux? Windows? – Eric F Feb 24 '15 at 21:13
  • I don't think it matters. neither native terminals will support keyboard control for highlighting. – Daniel Feb 24 '15 at 21:20
  • Linux/MacOSX terminal – ride the whirlwinds Feb 24 '15 at 21:24
1

I recommend using tmux. You can set it up with your own keyboard to highlight and copy text. See here.

0

To highlight the text in the linux ,you can use the below command

shift+arrow - highlight text

shift+ctrl+arrow - highlight an entire word

Please update us if you have issues.

  • 1
    This doesn't work in the MacOSX terminal or my virtual machine Ubuntu 14.04 terminal. MacOSX: Pressing Shift + left comes up as ;2D and shift + right arrow ;2C instead of highlighting text. Linux: comes up as D and C when pressing shift left/right. – ride the whirlwinds Feb 24 '15 at 22:31

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.