In the past I had used iTerm2
which makes search
a non issue. However it has showstopper bugs with pasting from the clipboard so I must use Terminal
instead. It seems the latter does not make searching a trivial task. The screenshot shows searching for event
:
You will have noticed there is nothing highlighted. I don't know what it is actually doing.. Sometimes when searching maybe one element shows up. But that's not acceptable either: why are not all instances of the search term highlighted?
The keyboard shortcuts do not list any such shortcut: am I missing something there? https://support.apple.com/guide/terminal/keyboard-shortcuts-trmlshtcts/mac
Best Answer
Unfortunately, this has no keyboard shortcut by default and you can't add a keyboard shortcut for this via the normal Mac settings (without installing a third-party automation app) because it would conflict with the "Select All" option that is being used as a top-level action inside the Edit menu, before the Find submenu.
However, you could add a keyboard shortcut for "Select All in Selection", the only downside to this is you have to select the region you want to highlight before executing the key combination. Here's how to set up this workflow:
Now, inside Terminal.app you can use this like: