-- bootstrap lazy.nvim, LazyVim and your plugins require("config.lazy") vim.api.nvim_create_autocmd({ "VimEnter", "VimResume" }, { group = vim.api.nvim_create_augroup("KittySetVarVimEnter", { clear = true }), callback = function() io.stdout:write("\x1b]1337;SetUserVar=in_editor=MQo\007") end, }) vim.api.nvim_create_autocmd({ "VimLeave", "VimSuspend" }, { group = vim.api.nvim_create_augroup("KittyUnsetVarVimLeave", { clear = true }), callback = function() io.stdout:write("\x1b]1337;SetUserVar=in_editor\007") end, })