Skip to content

binding backspace is ignored #4572

@Jaehaks

Description

@Jaehaks

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.1 (c1b259c)

OS

  • Linux
  • macOS
  • Windows
  • Etc.

Shell

  • bash
  • zsh
  • fish

Problem / Steps to reproduce

After update, default backspace behavior is changed to other, not backward-delete-char.
I am Windows 10 user and use cmd prompt.

I add backspace keymap to option like this, but it doesn't work.
backward-delete-char does work when I set the other key like ctrl-p.

set FZF_DEFAULT_OPTS=^
--layout=reverse ^
--border ^
--color=hl:#FF0000,hl+:#00FF00 ^
--preview="bat --color=always {}" ^
--preview-window "down,50%%,hidden" ^
--bind=ctrl-j:up,^
ctrl-k:down,^
ctrl-d:half-page-down,^
ctrl-u:half-page-up,^
ctrl-l:forward-char,^
ctrl-h:backward-char,^
backspace:backward-delete-char,^
ctrl-a:beginning-of-line,^
ctrl-e:end-of-line,^
ctrl-i:toggle-preview,^
alt-k:preview-half-page-down,^
alt-j:preview-half-page-up

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions