=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.725 retrieving revision 1.726 diff -u -r1.725 -r1.726 --- src/usr.bin/tmux/tmux.1 2020/03/31 11:58:05 1.725 +++ src/usr.bin/tmux/tmux.1 2020/03/31 16:53:23 1.726 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.725 2020/03/31 11:58:05 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.726 2020/03/31 16:53:23 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -1503,9 +1503,11 @@ .It Li "scroll-up" Ta "C-y" Ta "C-Up" .It Li "search-again" Ta "n" Ta "n" .It Li "search-backward " Ta "?" Ta "" -.It Li "search-forward " Ta "/" Ta "" .It Li "search-backward-incremental " Ta "" Ta "C-r" +.It Li "search-backward-text " Ta "" Ta "" +.It Li "search-forward " Ta "/" Ta "" .It Li "search-forward-incremental " Ta "" Ta "C-s" +.It Li "search-forward-text " Ta "" Ta "" .It Li "search-reverse" Ta "N" Ta "N" .It Li "select-line" Ta "V" Ta "" .It Li "select-word" Ta "" Ta "" @@ -1513,6 +1515,26 @@ .It Li "stop-selection" Ta "" Ta "" .It Li "top-line" Ta "H" Ta "M-R" .El +.Pp +The search commands come in several varieties: +.Ql search-forward +and +.Ql search-backward +search for a regular expression; +the +.Ql -text +variants search for a plain text string rather than a regular expression; +.Ql -incremental +perform an incremental search and expect to be used with the +.Fl i +flag to the +.Ic command-prompt +command. +.Ql search-again +repeats the last search and +.Ql search-reverse +does the same but reverses the direction (forward becomes backward and backward +becomes forward). .Pp Copy commands may take an optional buffer prefix argument which is used to generate the buffer name (the default is