docs(basic): document the in-place scrollback search
This commit is contained in:
1 file changed
+10
@@ -26,8 +26,18 @@ Next shell prompt :sc:`scroll_to_next_prompt` (see :ref:`shell_integra
|
|||||||
Browse scrollback in less :sc:`show_scrollback`
|
Browse scrollback in less :sc:`show_scrollback`
|
||||||
Browse last cmd output :sc:`show_last_command_output` (see :ref:`shell_integration`)
|
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)
|
Search scrollback in less :sc:`search_scrollback` (also :kbd:`⌘+F` on macOS)
|
||||||
|
Search scrollback in place :sc:`search_scrollback_prompt`
|
||||||
========================= =======================
|
========================= =======================
|
||||||
|
|
||||||
|
The in-place search highlights every match without replacing the screen with a
|
||||||
|
pager. Prefix the query with ``\c`` to match case sensitively and with ``\r``
|
||||||
|
to use a regular expression; both modifiers can be combined. While the search
|
||||||
|
is active, :kbd:`n` jumps to the next match, :kbd:`N` to the previous one and
|
||||||
|
:kbd:`Escape` ends it. The ``[current/total]`` counter is shown in the window
|
||||||
|
title and matches use the first marker color (see :opt:`mark1_foreground`).
|
||||||
|
The :ac:`scrollback_search_next`, :ac:`scrollback_search_prev` and
|
||||||
|
:ac:`clear_scrollback_search` actions can also be mapped directly.
|
||||||
|
|
||||||
The scroll actions only take effect when the terminal is in the main screen.
|
The scroll actions only take effect when the terminal is in the main screen.
|
||||||
When the alternate screen is active (for example when using a full screen
|
When the alternate screen is active (for example when using a full screen
|
||||||
program like an editor) the key events are instead passed to program running in the
|
program like an editor) the key events are instead passed to program running in the
|
||||||
|
|||||||
Reference in new issue
Block a user