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.
This commit is contained in:
Fabian Boehm 2022-09-10 15:17:56 +02:00
parent 5cf0778207
commit 79642995f1

View file

@ -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 <cmd-bind>` builtin.