From 79642995f1af7dbde13971200c5c96534e319325 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sat, 10 Sep 2022 15:17:56 +0200 Subject: [PATCH] docs: ctrl-r is only history pager in emacs mode We do not currently have a vi-binding for it because ctrl-r is redo there. --- doc_src/interactive.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_src/interactive.rst b/doc_src/interactive.rst index a078373f7..52acbf0cf 100644 --- a/doc_src/interactive.rst +++ b/doc_src/interactive.rst @@ -301,8 +301,6 @@ Some bindings are common across Emacs and Vi mode, because they aren't text edit - :kbd:`Control`\ +\ :kbd:`L` clears and repaints the screen. -- :kbd:`Control`\ +\ :kbd:`R` opens the history in a pager. This will show history entries matching the search, a few at a time. Pressing :kbd:`Control`\ +\ :kbd:`R` again will search older entries, pressing :kbd:`Control`\ +\ :kbd:`S` (that otherwise toggles pager search) will go to newer entries. The search bar will always be selected. - - :kbd:`Control`\ +\ :kbd:`W` moves the previous path component (everything up to the previous "/", ":" or "@") to the :ref:`killring`. - :kbd:`Control`\ +\ :kbd:`X` copies the current buffer to the system's clipboard, :kbd:`Control`\ +\ :kbd:`V` inserts the clipboard contents. @@ -358,6 +356,8 @@ To enable emacs mode, use ``fish_default_key_bindings``. This is also the defaul - :kbd:`Alt`\ +\ :kbd:`/` reverts the most recent undo. +- :kbd:`Control`\ +\ :kbd:`R` opens the history in a pager. This will show history entries matching the search, a few at a time. Pressing :kbd:`Control`\ +\ :kbd:`R` again will search older entries, pressing :kbd:`Control`\ +\ :kbd:`S` (that otherwise toggles pager search) will go to newer entries. The search bar will always be selected. + You can change these key bindings using the :ref:`bind ` builtin.