From 20a3599b10df4aec6b01f54738cf0e6e20ddfc5d Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sat, 13 Aug 2022 21:04:15 +0200 Subject: [PATCH] faq.rst: correct explanation of Ctrl-R/Ctrl-S bindings in history pager --- doc_src/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/faq.rst b/doc_src/faq.rst index b4802782c..0003541b8 100644 --- a/doc_src/faq.rst +++ b/doc_src/faq.rst @@ -154,7 +154,7 @@ in :ref:`config.fish `. How do I run a command from history? ------------------------------------ -Type some part of the command, and then hit the :kbd:`↑` (up) or :kbd:`↓` (down) arrow keys to navigate through history matches, or press :kbd:`Control`\ +\ :kbd:`R` to open the history in a searchable pager (and press :kbd:`Control`\ +\ :kbd:`S` to move to older history). +Type some part of the command, and then hit the :kbd:`↑` (up) or :kbd:`↓` (down) arrow keys to navigate through history matches, or press :kbd:`Control`\ +\ :kbd:`R` to open the history in a searchable pager. In this pager you can press :kbd:`Control`\ +\ :kbd:`R` or :kbd:`Control`\ +\ :kbd:`S` to move to older or younger history respectively. Additional default key bindings include :kbd:`Control`\ +\ :kbd:`P` (up) and :kbd:`Control`\ +\ :kbd:`N` (down). See :ref:`Searchable command history ` for more information.