Bind ctrl-g to cancel as well

Classic emacs thing and the chord is so far unused.

Fixes #9484
This commit is contained in:
Fabian Boehm
2023-01-21 13:35:22 +01:00
parent 52d2087dd3
commit 01d681067c
2 changed files with 3 additions and 0 deletions

View File

@@ -363,6 +363,8 @@ To enable emacs mode, use ``fish_default_key_bindings``. This is also the defaul
- :kbd:`Control`\ +\ :kbd:`K` deletes from the cursor to the end of line (moving it to the :ref:`killring`).
- :kbd:`Escape` and :kbd:`Control`\ +\ :kbd:`G` cancel the current operation. Immediately after an unambiguous completion this undoes it.
- :kbd:`Alt`\ +\ :kbd:`C` capitalizes the current word.
- :kbd:`Alt`\ +\ :kbd:`U` makes the current word uppercase.