diff --git a/doc_src/cmds/bind.rst b/doc_src/cmds/bind.rst index eb2d6c30e..81dd76fd0 100644 --- a/doc_src/cmds/bind.rst +++ b/doc_src/cmds/bind.rst @@ -163,7 +163,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