Is it possible to highlight text with the keyboard only?

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?

ride the whirlwinds

Posted 2015-02-24T21:12:22.167

Reputation: 327

Linux? Windows? – Eric F – 2015-02-24T21:13:30.360

I don't think it matters. neither native terminals will support keyboard control for highlighting. – Daniel – 2015-02-24T21:20:51.640

Linux/MacOSX terminal – ride the whirlwinds – 2015-02-24T21:24:25.423

Answers

1

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

Philipp Moers

Posted 2015-02-24T21:12:22.167

Reputation: 238

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.

vembutech

Posted 2015-02-24T21:12:22.167

Reputation: 5 693

2This 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 – 2015-02-24T22:31:49.843