-- Disable Kitty keyboard protocol to prevent Ghostty from -- duplicating characters on dead-key layouts (e.g. Swiss -- French). Neovim 0.12+ enables key release events via this -- protocol, which Ghostty mishandles for non-US layouts. -- See: ghostty-org/ghostty#12433 vim.api.nvim_create_autocmd("VimEnter", { callback = function() io.write("\x1b[