Skip to content

Ctrl-v<Esc> in kitty produces trailing garbage #15868

@chdiza

Description

@chdiza

Steps to reproduce

In the kitty terminal, do vim --clean and then do Ctrl-v.

Expected behaviour

I expect to see "^[" (a literal escape character).

What I actually see is "^[[27u".

I bisected and this has been there since 9.0.0930.

Version of Vim

9.1.0781

Environment

Debian 12.6, and I also see this on Linux Mint 21.1.

Logs and stack traces

No response

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