[vim/vim] Detect kitty key protocol on startup (PR #19600)

19 views
Skip to first unread message

Foxe Chen

unread,
Mar 7, 2026, 2:07:48 AM (11 days ago) Mar 7
to vim/vim, Subscribed

To be honest I do not get the point of the keyprotocol option, was it added because there wasn't way to detect KKP when Vim added support for it? Or is there some sort of gotcha that I am not aware of?


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19600

Commit Summary

  • a70ce2a detect kitty key protocol on startup

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600@github.com>

Foxe Chen

unread,
Mar 7, 2026, 2:48:55 AM (11 days ago) Mar 7
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 0d1a087 detect kitty key protocol on startup


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600/before/a70ce2a7ab9507567331418f4380a5b3826fdf02/after/0d1a087d1c7f0385ae216a8220edcecab3f6f4c3@github.com>

Christian Brabandt

unread,
Mar 7, 2026, 4:33:16 AM (11 days ago) Mar 7
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19600)

oh is it possible to detect this automatically? I wasn't aware of this


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600/c4016089845@github.com>

Foxe Chen

unread,
Mar 7, 2026, 1:17:00 PM (10 days ago) Mar 7
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 254715f detect kitty key protocol on startup

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600/before/0d1a087d1c7f0385ae216a8220edcecab3f6f4c3/after/254715f9a7308b227e4e9c64ea84fd3c57a5caec@github.com>

Foxe Chen

unread,
Mar 7, 2026, 1:57:40 PM (10 days ago) Mar 7
to vim/vim, Push

@64-bitman pushed 1 commit.

  • 8641a04 detect kitty key protocol on startup

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600/before/254715f9a7308b227e4e9c64ea84fd3c57a5caec/after/8641a048224d5da01f9b3e8bbfccc4f8f3952c44@github.com>

Christian Brabandt

unread,
Mar 9, 2026, 3:00:28 PM (8 days ago) Mar 9
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19600)

Thanks. can some kitty users try this out please?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600/c4026051083@github.com>

Christian Brabandt

unread,
Mar 17, 2026, 5:22:00 PM (7 hours ago) Mar 17
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19600)

will this work correclty on GUI versions of Vim?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600/c4078075300@github.com>

Foxe Chen

unread,
Mar 17, 2026, 6:10:22 PM (6 hours ago) Mar 17
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#19600)

will this work correclty on GUI versions of Vim?

I am not sure what you mean. The kitty keyboard protocol is only for the terminal?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600/c4078279996@github.com>

Christian Brabandt

unread,
Mar 17, 2026, 6:26:54 PM (6 hours ago) Mar 17
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19600)

yes, but we are not sending out those terminal sequences when we are not run in a terminal, are we?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600/c4078355197@github.com>

Foxe Chen

unread,
Mar 17, 2026, 8:34:07 PM (3 hours ago) Mar 17
to vim/vim, Push

@64-bitman pushed 1 commit.

  • c81e717 detect kitty key protocol on startup

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600/before/8641a048224d5da01f9b3e8bbfccc4f8f3952c44/after/c81e71779d6ac7e8c3ff1fa9711d7f8f0ec6c025@github.com>

Foxe Chen

unread,
Mar 17, 2026, 8:37:54 PM (3 hours ago) Mar 17
to vim/vim, Subscribed
64-bitman left a comment (vim/vim#19600)

I will close this PR. This automatic detection prevents the user from disabling the protocol. I don't think its worth the complexity.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600/c4078878988@github.com>

Foxe Chen

unread,
Mar 17, 2026, 8:37:57 PM (3 hours ago) Mar 17
to vim/vim, Subscribed

Closed #19600.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19600/issue_event/23663654989@github.com>

Reply all
Reply to author
Forward
0 new messages