Skip to content

Unable to map "cmd+period" keyboard shortcut #1318

@fallwith

Description

@fallwith

I'm using v0.13.3 on macOS 10.14 Mojave. Kitty's features and performance have convinced me to use it instead of the built-in Terminal app, and now I am in the process of bringing my keyboard shortcuts over from Terminal to Kitty.

One shortcut I am stuck on is cmd + . which in Terminal behaves exactly like ctrl + c.

I am unable to implement this functionality in Kitty for two reasons:

  1. Via kitty --debug-keyboard, I can see that Kitty knows when I press and then release cmd. It does not register anything at all, however, when I hit . while holding down cmd. Only . appears to be affected. I can see the debugger report other combinations correctly, such as cmd + l or cmd + o or cmd + p.
  2. Even if I could get Kitty to recognize that cmd + . was being inputted, I do not know how to map that combination to ctrl + c. Should I send interrupt or is there a way to have it send hex? (For hex I would need to send \x03.

I would appreciate any assistance with pointing me in the right direction with this matter. Thank you fort your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions