diff --git a/doc_src/cmds/bind.rst b/doc_src/cmds/bind.rst index 16f806d2d..41716d22d 100644 --- a/doc_src/cmds/bind.rst +++ b/doc_src/cmds/bind.rst @@ -100,6 +100,12 @@ The following options are available: **-s** or **--silent** Silences some of the error messages, including for unknown key names and unbound sequences. +**-k KEY_NAME** or **--key KEY_NAME** + This looks up KEY_NAME in terminfo and binds that sequence instead of a key that fish would decode. + To view a list of the terminfo keys fish knows about, use ``bind --key-names`` or ``bind -K``. + This is deprecated and provided for compatibility with older fish versions. You should bind the keys directly. + Instead of ``bind -k sright`` use ``bind shift-right``, instead of ``bind -k nul`` use ``bind ctrl-space`` and so on. + **-h** or **--help** Displays help about using this command.