Skip to content

Kitty: support cmd+backspace #6583

Closed

Description

@mgesbert

cmd+backspace removes the whole line. It works in some terminals like Ghostty, but not in Kitty

Activity

  1. willmcgugan commented on Jun 23, 2026

    @willmcgugan
    Member

    So cmd+backspace in the other terminals you tried emits a ctrl+u when you press cmd+backspace (probably for historical reasons). The ctrl+u binding is used for the delete_to_start_of_line action.

    Kitty emits a cmd+backspace (or super+backspace in Textual terms).

    Given that super+backspace doesn't conflict with anything, I can add that as an alias for ctrl+u in the TextArea.

  2. github-actions commented on Jun 24, 2026

    @github-actions

    I hope I solved your issue!

    Consider sponsoring my work to continue to maintain and develop Textual.

    • Will McGugan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions