.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "urxvt-searchable-scrollback 1" .TH urxvt-searchable-scrollback 1 2024-03-07 9.31 RXVT-UNICODE .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME searchable\-scrollback \- incremental scrollback search .SH DESCRIPTION .IX Header "DESCRIPTION" Adds regex search functionality to the scrollback buffer, triggered by the \f(CW\*(C`searchable\-scrollback:start\*(C'\fR action (bound to \f(CW\*(C`M\-s\*(C'\fR by default). While in search mode, normal terminal input/output is suspended and a regex is displayed at the bottom of the screen. .PP Inputting characters appends them to the regex and continues incremental search. In addition, the following bindings are recognized: .ie n .IP """BackSpace""" 4 .el .IP \f(CWBackSpace\fR 4 .IX Item "BackSpace" Remove a character from the regex. .ie n .IP """Insert""" 4 .el .IP \f(CWInsert\fR 4 .IX Item "Insert" Append the value of the PRIMARY selection to the regex. .ie n .IP """Up""" 4 .el .IP \f(CWUp\fR 4 .IX Item "Up" Search for a match upwards. .ie n .IP """Down""" 4 .el .IP \f(CWDown\fR 4 .IX Item "Down" Search for a match downwards. .ie n .IP """Prior""" 4 .el .IP \f(CWPrior\fR 4 .IX Item "Prior" Scroll up. .ie n .IP """Next""" 4 .el .IP \f(CWNext\fR 4 .IX Item "Next" Scroll down. .ie n .IP """End""" 4 .el .IP \f(CWEnd\fR 4 .IX Item "End" Scroll to the bottom. .ie n .IP """Escape""" 4 .el .IP \f(CWEscape\fR 4 .IX Item "Escape" Leave the mode and return to the point where search was started. .ie n .IP """Enter"" or ""Return""" 4 .el .IP "\f(CWEnter\fR or \f(CWReturn\fR" 4 .IX Item "Enter or Return" Leave the mode maintaining the current position in the scrollback. Additionally, if the \f(CW\*(C`Shift\*(C'\fR modifier is active, store the first match in the current line into the primary selection. .PP The regex defaults to "(?i)", resulting in a case-insensitive search. To get a case-sensitive search you can delete this prefix using \f(CW\*(C`BackSpace\*(C'\fR or simply use an uppercase character which removes the "(?i)" prefix. .PP See perlre for more info about perl regular expression syntax.