Skip to content

bug: alt-<number> keybindings not recognized #1657

Closed
@herrsimon

Description

  • Category
    • fzf binary
    • fzf-tmux script
    • Key bindings
    • Completion
    • Vim
    • Neovim
    • Etc.
  • OS
    • Linux
    • Mac OS X
    • Windows
    • Windows Subsystem for Linux
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

Hello,

<alt+number> keybindings don't seem to work in fzf. For example, when running

echo test | fzf --expect=alt-1 --delimiter=' '

or

echo test | fzf --bind=alt-1:abort,

nothing happens when pressing alt-1. In contrast to this, the above commands work when replacing alt-1 by alt-a or any other alt+ combination. Also, the builtin alt-keybindings (alt-f, alt-b etc.) work as well.

My terminal (urxvt on X) sends escape codes for both letters and numbers, i.e. pressing alt-1 or alt-a sends ^[1 and ^[a, respectively. I made sure that the alt- sequence is not intercepted by a window manager or any other application. The issue is also present on a tty without running X.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions