From 2118973251c386f5b604609171bf0084c141f722 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 20 Mar 2017 16:49:29 +0100 Subject: [PATCH] Document \cn/\cp bindings We want to downplay this in favor of the arrow keys, but mentioning it is still the right thing to do. Supersedes #3879. --- doc_src/index.hdr.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in index a85bb32bc..577721d65 100644 --- a/doc_src/index.hdr.in +++ b/doc_src/index.hdr.in @@ -977,7 +977,7 @@ Some bindings are shared between emacs- and vi-mode because they aren't text edi - @key{Alt,←,Left} and @key{Alt,→,Right} move the cursor one word left or right, or moves forward/backward in the directory history if the command line is empty. If the cursor is already at the end of the line, and an autosuggestion is available, @key{Alt,→,Right} (or @key{Alt,F}) accepts the first word in the suggestion. -- @cursor_key{↑,Up} and @cursor_key{↓,Down} search the command history for the previous/next command containing the string that was specified on the commandline before the search was started. If the commandline was empty when the search started, all commands match. See the history section for more information on history searching. +- @cursor_key{↑,Up} and @cursor_key{↓,Down} (or @key{Control,P} and @key{Control,N} for emacs aficionados) search the command history for the previous/next command containing the string that was specified on the commandline before the search was started. If the commandline was empty when the search started, all commands match. See the history section for more information on history searching. - @key{Alt,↑,Up} and @key{Alt,↓,Down} search the command history for the previous/next token containing the token under the cursor before the search was started. If the commandline was not on a token when the search started, all tokens match. See the history section for more information on history searching.