mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
docs: More on key timeout, key chord limitations
(cherry picked from commit 496fc03b98)
This commit is contained in:
@@ -380,3 +380,6 @@ The escape key can be used standalone, for example, to switch from insertion mod
|
||||
Holding alt and something else also typically sends escape, for example holding alt+a will send an escape character and then an "a".
|
||||
|
||||
fish waits for a period after receiving the escape character, to determine whether it is standalone or part of an escape sequence. While waiting, additional key presses make the escape key behave as a meta key. If no other key presses come in, it is handled as a standalone escape. The waiting period is set to 30 milliseconds (0.03 seconds). It can be configured by setting the ``fish_escape_delay_ms`` variable to a value between 10 and 5000 ms. This can be a universal variable that you set once from an interactive session.
|
||||
So the escape character has its own timeout configured with :envvar:`fish_escape_delay_ms`.
|
||||
|
||||
See also :ref:`Key sequences`.
|
||||
|
||||
Reference in New Issue
Block a user