Skip to content

Binding ctrl-h key is ignored #4556

@fab4100

Description

@fab4100

Checklist

  • I have read through the manual page (man fzf)
  • I have searched through the existing issues
  • For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version

0.66.0 (8cdfb23)

OS

  • Linux
  • macOS
  • Windows
  • Etc.

Shell

  • bash
  • zsh
  • fish

Problem / Steps to reproduce

Binding a custom action to ctrl-h seems to be ignored (backward-delete-char is enforced). This may be related to

fzf/CHANGELOG.md

Lines 252 to 255 in 8cdfb23

### 7. Added key support for `--bind`
Pull request [#3996](https://github.com/junegunn/fzf/pull/3996) added support
for many additional keys for `--bind` option, such as `ctrl-backspace`.
since I only observe this behavior when upgrading from 0.65 to 0.66.

The following test does not bind ctrl-h:up (ctrl-l:down works as expected):

seq 4 | env --ignore-environment <path to fzf> --bind ctrl-h:up,ctrl-l:down

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions