Skip to content

[bug]: bindmap doesn't work when bindkey is used to map several keys #733

@ittayd

Description

@ittayd

What happened?

if a plugin does multiple bindings in one bindkey command (e.g. bindkey '^[f' forward-shell-word '^[[1;3C' forward-shell-word '^[[3C' forward-shell-word '^[O3C' forward-shell-word '^[^[[C' forward-shell-word '^[^[OC' forward-shell-word '^[[1;2C' forward-shell-word '^[[2C' forward-shell-word '^[O2C' forward-shell-word, as zsh-edit does), then only the first is examined for bindmap.

Steps to reproduce

  1. use marlonrichert/zsh-edit (with trackbinds)
  2. try to bindmap "\e[1;2C" -> hold

Relevant output

Screenshots and recordings

No response

Operating System & Version

OS: linux-gnu | Vendor: ubuntu | Machine: x86_64 | CPU: x86_64 | Processor: x86_64 | Hardware: x86_64

Zsh version

zsh 5.9 (x86_64-ubuntu-linux-gnu)

Terminal emulator

xterm-256color

If using WSL on Windows, which version of WSL

None

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions