Opening
- macOS
- Windows and Linux
⌘F opens and closes search for the active pane.Navigating
The
▲ ▼ arrows in the box do the same as ⇧↵ and ↵.
As you type, TYBA already marks the first result — no need to press Enter to see where it hit.
The counter
To the right of the field:
Results are painted with your theme’s colors: every match gets one marking, and the active one another. Change the theme and search changes with it.
It comes pre-filled
If you had something selected when you opened search, the query starts with that text — already selected in the field, ready to be replaced if it isn’t what you wanted.This only applies to single-line selections. A selection with a line break pre-fills nothing: search is for running text, and a three-line query would never find anything.
⌘F, ↵ — and you’re walking through every other time it appeared.
The 10,000-line limit
The terminal keeps 10,000 lines of scrollback. Fixed. This isn’t a number you can raise: there’s no field in Settings, no hidden preference, no file to edit. Acat of a huge log, a verbose build, an agent dumping a diff — any of them pushes out whatever was there before.
If what you need to find is half an hour and a thousand commands back, the place to look isn’t the terminal’s search — it’s the file, the log or git.
What search doesn’t see
See also
Using the terminal
Selecting and copying — what feeds search.
Shortcuts
Where to remap
⌘F.