From b52173c85412e233a03c7e92132c5dd7a75834f8 Mon Sep 17 00:00:00 2001 From: David Adam Date: Wed, 26 Feb 2025 21:23:40 +0800 Subject: [PATCH] docs/bind: improve description of cancel binding Closes #9644 (cherry picked from commit 8ec1a3e7b9d9e01e3a13080c355fa5bc04b3407b) --- doc_src/cmds/bind.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/cmds/bind.rst b/doc_src/cmds/bind.rst index ceb4972c7..d7088f060 100644 --- a/doc_src/cmds/bind.rst +++ b/doc_src/cmds/bind.rst @@ -162,7 +162,7 @@ The following special input functions are available: start selecting text ``cancel`` - cancel the current commandline and replace it with a new empty one + close the pager if it is open, or undo the most recent completion if one was just inserted, or otherwise cancel the current commandline and replace it with a new empty one ``cancel-commandline`` cancel the current commandline and replace it with a new empty one, leaving the old one in place with a marker to show that it was cancelled