Add a default mapping for searching the scrollback

Opens the scrollback pager in search mode. Particularly useful for
newbies on macOS that are used to using cmd+f to trigger search mode.

If there is a current selection, it is automatically searched for.
This commit is contained in:
Kovid Goyal 2025-12-01 08:10:07 +05:30
parent 9b6b9733b9
commit 20b39ee163
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
10 changed files with 54 additions and 6 deletions

View file

@ -25,6 +25,7 @@ Previous shell prompt :sc:`scroll_to_previous_prompt` (see :ref:`shell_int
Next shell prompt :sc:`scroll_to_next_prompt` (see :ref:`shell_integration`)
Browse scrollback in less :sc:`show_scrollback`
Browse last cmd output :sc:`show_last_command_output` (see :ref:`shell_integration`)
Search scrollback in less :sc:`search_scrollback` (also :kbd:`⌘+F` on macOS)
========================= =======================
The scroll actions only take effect when the terminal is in the main screen.