mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-25 04:11:14 -03:00
Allow abbreviating ctrl-/alt- as c-/a-
This makes them more convenient to use interactively, similar to the existing \c and \a versions. The resulting bind output keeps using the canonical ctrl/alt version. Not sure about s- because that's somewhat ambiguous, it could be "super".
This commit is contained in:
@@ -23,7 +23,7 @@ If both ``KEYS`` and ``COMMAND`` are given, ``bind`` adds (or replaces) a bindin
|
||||
If only ``KEYS`` is given, any existing binding in the given ``MODE`` will be printed.
|
||||
|
||||
``KEYS`` is a comma-separated list of key names.
|
||||
Modifier keys can be specified by prefixing a key name with a combination of ``ctrl-``, ``alt-`` and ``shift-``.
|
||||
Modifier keys can be specified by prefixing a key name with a combination of ``ctrl-``/``c-``, ``alt-``/``a-`` and ``shift-``.
|
||||
For example, :kbd:`Alt`\ +\ :kbd:`w` is written as ``alt-w``.
|
||||
Key names are case-sensitive; for example ``alt-W`` is the same as ``alt-shift-w``.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user