2024-04-18 11:10:29 -07:00
|
|
|
-- bootstrap lazy.nvim, LazyVim and your plugins
|
|
|
|
require("config.lazy")
|
2024-06-23 19:28:23 -07:00
|
|
|
|
|
|
|
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,
|
|
|
|
})
|