Skip to content

Re-mapped keyboard shortcuts overriding multi-key mappings don't work in v.0.32 #7058

@mojolo

Description

@mojolo

Describe the bug

Kinda similar to #7016, which effected macOS and was fixed with this commit

On Linux, re-mapping default shortcuts no longer works as expected with kitty v0.32 or v0.32 nightly. Below is a simple example, but the bug effects all of my default shortcut overrides.

To Reproduce

  1. Add map kitty_mod+o no_op to kitty.conf
  2. In kitty v0.31.0 and previous versions, the default shortcut is removed, as expected. kitty_mod+f6 reports:
Removed shortcuts:
        kitty_mod+o →  pass_selection_to_program
  1. [ERROR] In kitty v0.32.0 and later nightlies, kitty no longer removes the default shortcut. Instead, the new action (no_op in this case) is added (comma-seperated) to the original default action. kitty_mod+f6 reports:
Changed shortcuts:
        kitty_mod+o →  pass_selection_to_program, no-op

Environment details

kitty 0.32.0 (828f4f312a) created by Kovid Goyal
zsh v5.9
Linux 6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023 x86_64
Kubuntu 23.10
Running under: X11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions