Scroll to navigation

urxvt-searchable-scrollback(1) RXVT-UNICODE urxvt-searchable-scrollback(1)


searchable-scrollback - incremental scrollback search (enabled by default)


Adds regex search functionality to the scrollback buffer, triggered by the "searchable-scrollback:start" action (bound to "M-s" by default). While in search mode, normal terminal input/output is suspended and a regex is displayed at the bottom of the screen.

Inputting characters appends them to the regex and continues incremental search. In addition, the following bindings are recognized:

Remove a character from the regex.
Append the value of the PRIMARY selection to the regex.
Search for a match upwards.
Search for a match downwards.
Scroll up.
Scroll down.
Scroll to the bottom.
Leave the mode and return to the point where search was started.
"Enter" or "Return"
Leave the mode maintaining the current position in the scrollback. Additionally, if the "Shift" modifier is active, store the first match in the current line into the primary selection.

The regex defaults to "(?i)", resulting in a case-insensitive search. To get a case-sensitive search you can delete this prefix using "BackSpace" or simply use an uppercase character which removes the "(?i)" prefix.

See perlre for more info about perl regular expression syntax.

2021-06-13 9.26