I need to read a long row of output in Terminal and was wondering if there is a way to have the whole row where the mouse cursor is positioned highlighted. Alternatively, would there be a way to highlight a row and control the highlight with the keyboard?

Thanks.

Yes - just put the cursor on the line and triple click it - and it will light up the whole line. It works with apple terminal as well as iTerm.

  • I was looking for a solution that is easier to use, such as hovering over a line or using the keyboard's up and down arrows to highlight that line. The problem with triple clicking is that you can not easily move between lines in the way up and down keys or a hovering would do, because you'd have to redo triple clicking for every line. // Thanks for offering to search the *.rc files for what sets that. Maybe there's something in there... – Alex Ixeras Sep 6 '17 at 22:32
  • Yes, you are right, that is not much better than dragging the cursor over the whole line. I do it and then use cut/paste to move it. But I am old-school - started on tty's before mice were "created"... no it was before that - started with punched cards. (1964) - this article has some ideas already built in: osxdaily.com/2012/02/23/… – T Boyd Moore Sep 7 '17 at 22:25

On my computer, I can use the mouse to position a cursor and with mouse key depressed highlight whatever lines I like. I can then move the highlighted region to wherever lines I want. A lot like triple clicking but it can highlight multiple lines.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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