docs/bind: improve description of cancel binding

Closes #9644

(cherry picked from commit 8ec1a3e7b9)
This commit is contained in:
David Adam
2025-02-26 21:23:40 +08:00
parent b5736c5535
commit b52173c854

View File

@@ -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