From 6c3150aa056f3f3c4316a0f130ae0f12850971a0 Mon Sep 17 00:00:00 2001 From: David Adam Date: Sun, 5 Jan 2025 22:27:00 +0800 Subject: [PATCH] docs/interactive: update key bindings added for 4.0 --- doc_src/interactive.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc_src/interactive.rst b/doc_src/interactive.rst index b1761085e..b21381f35 100644 --- a/doc_src/interactive.rst +++ b/doc_src/interactive.rst @@ -327,8 +327,12 @@ Some bindings are common across Emacs and vi mode, because they aren't text edit - :kbd:`alt-d` or :kbd:`ctrl-delete` moves the next word to the :ref:`killring`. +- :kbd:`alt-d` lists the directory history if the command line is empty. + - :kbd:`alt-delete` moves the next argument to the :ref:`killring`. +- :kbd:`shift-delete` removes the current history item or autosuggestion from the command history. + - :kbd:`alt-h` (or :kbd:`f1`) shows the manual page for the current command, if one exists. - :kbd:`alt-l` lists the contents of the current directory, unless the cursor is over a directory argument, in which case the contents of that directory will be listed. @@ -382,7 +386,7 @@ To enable emacs mode, use :doc:`fish_default_key_bindings