From 47a56c11f26a66c97ce90af97f20a7b724dd515d Mon Sep 17 00:00:00 2001
From: nicm <nicm>
Date: Thu, 13 Feb 2025 16:31:25 +0000
Subject: [PATCH] Add a note about C-r and C-s behaviour, GitHub issue 4309.

Also add a missing word, from jmc@.
---
 tmux.1 | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/tmux.1 b/tmux.1
index 6f9c68e1..ed6e7a53 100644
--- a/tmux.1
+++ b/tmux.1
@@ -2329,6 +2329,15 @@ repeats the last search and
 does the same but reverses the direction (forward becomes backward and backward
 becomes forward).
 .Pp
+The default incremental search key bindings,
+.Ql C-r
+and
+.Ql C-s ,
+are designed to emulate
+.Xr emacs 1 .
+When first pressed they allow a new search term to be entered; if pressed with
+an empty search term they repeat the previously used search term.
+.Pp
 The
 .Ql next-prompt
 and
@@ -6766,7 +6775,7 @@ option is used; a delay of zero waits for a key press.
 ignores key presses and closes only after the delay expires.
 If
 .Fl C
-given, the pane will continue to be updated while the message is displayed.
+is given, the pane will continue to be updated while the message is displayed.
 If
 .Fl l
 is given,