8000 `ctrl-backspace` doesn't work in tmux · Issue #11538 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content
ctrl-backspace doesn't work in tmux #11538
@hron

Description

@hron

It seems ctrl-backspace doesn't work when fish is launched inside tmux, but works without it. Also, for the same terminal tmux + bash works fine.

  • ctrl-backspace in tmux + fish:
❯ fish_key_reader -c

To terminate this program type "exit" or "quit" in this window,
or press ctrl-c or ctrl-d twice in a row.

Press a key:
bind ctrl-h 'do something'
  • ctrl-backspace in fish:
❯ fish_key_reader -c

To terminate this program type "exit" or "quit" in this window,
or press ctrl-c or ctrl-d twice in a row.

Press a key:
bind ctrl-backspace 'do something'
❯ fish --version
fish, version 4.0.1
❯ apt show tmux
Version: 3.5a-3

I know that I can assign ctrl-h in fish config to backward-kill-word and this is what I did, but just in case maybe this can be fixed permanently in fish? The workaround:

bind ctrl-h backward-kill-word

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0