From df56f7155eca4855d96234097f278d9137ccd391 Mon Sep 17 00:00:00 2001 From: David Adam Date: Thu, 13 Feb 2025 00:12:14 +0800 Subject: [PATCH] docs/interactive: add ctrl-n Vi mode documentation Noted missing in #11082. (cherry picked from commit b2eebbe194158270def1e7e941a7d4dd0b84a54a) --- doc_src/interactive.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc_src/interactive.rst b/doc_src/interactive.rst index 59c3b9fca..28bc55157 100644 --- a/doc_src/interactive.rst +++ b/doc_src/interactive.rst @@ -482,6 +482,7 @@ Command mode is also known as normal mode. - :kbd:`p` pastes text from the :ref:`killring`. - :kbd:`u` undoes the most recent edit of the command line. + - :kbd:`ctrl-r` redoes the most recent edit. - :kbd:`[` and :kbd:`]` search the command history for the previous/next token containing the token under the cursor before the search was started. See the :ref:`history ` section for more information on history searching. @@ -503,6 +504,8 @@ Insert mode - :kbd:`backspace` removes one character to the left. +- :kbd:`ctrl-n` accepts the autosuggestion. + .. _vi-mode-visual: Visual mode