[vim/vim] Kitty Keyboard Protocol not used by default in Ghostty (Issue #16318)

10 views
Skip to first unread message

Kat

unread,
Dec 27, 2024, 9:44:53 PM12/27/24
to vim/vim, Subscribed

Steps to reproduce

  1. Download Ghostty (see https://ghostty.org/download).
  2. Launch Vim in Ghostty and run :verbose map.
  3. Note how Kitty keyboard protocol: On doesn't show up.
  4. Set keyprotocol to kitty:kitty,foot:kitty,ghostty:kitty,wezterm:kitty,xterm:mok2.
  5. Repeat step two and note how Kitty keyboard protocol: On now shows up.

Expected behaviour

The Kitty Keyboard protocol to be enabled by default since Ghostty supports it; i.e. the value of keyprotocol to be kitty:kitty,foot:kitty,ghostty:kitty,wezterm:kitty,xterm:mok2 by default.

I would open a PR but I don't know how to change the default values of options.

(Note: it would also be nice if Vim were able to query for support instead of hardcoding $TERM patterns.)

Version of Vim

9.1.0954

Environment

Operating System: Arch Linux (rolling)
Terminal: Ghostty 1.0.1-main+35b9ceee
Value of $TERM: xterm-ghostty
Shell: Fish 3.7.1

Logs and stack traces

No response


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

Christian Brabandt

unread,
Dec 28, 2024, 10:31:01 AM12/28/24
to vim/vim, Subscribed

Closed #16318 as completed via 231b4fc.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/16318/issue_event/15777814844@github.com>

dezza

unread,
3:15 PM (7 hours ago) 3:15 PM
to vim/vim, Subscribed
dezza left a comment (vim/vim#16318)

hey as new ghostty user do you have settings to share? I get some stray chars in buffer sometimes.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/16318/5183516510@github.com>

kat

unread,
3:19 PM (7 hours ago) 3:19 PM
to vim/vim, Subscribed
00-kat left a comment (vim/vim#16318)

Not sure what that means, and that's probably off-topic to this issue, but I've never seen anything of that form; the only interesting settings I have are this hunk of text (minus the background color erase one).


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/16318/5183552243@github.com>

kat

unread,
3:30 PM (7 hours ago) 3:30 PM
to vim/vim, Subscribed
00-kat left a comment (vim/vim#16318)

Ghostty supports BCE so that one wouldn't help. We should probably move to some other forum though (I'm not too familiar with vim's policies so not sure where however).


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/16318/5183660404@github.com>

Reply all
Reply to author
Forward
0 new messages