diff --git a/.config/nvim/lua/config/autocmds.lua b/.config/nvim/lua/config/autocmds.lua index 556f24ec..57fd6eba 100644 --- a/.config/nvim/lua/config/autocmds.lua +++ b/.config/nvim/lua/config/autocmds.lua @@ -113,15 +113,3 @@ ac("BufWritePre", { vim.fn.mkdir(vim.fn.fnamemodify(file, ":p:h"), "p") end, }) - --- Toggle lazygit instead of closing -ac("TermOpen", { - pattern = "*", - callback = function() - local term_title = vim.b.term_title - if term_title and term_title:match("lazygit") then - -- Create lazygit specific mappings - vim.keymap.set("t", "q", "close", { buffer = true }) - end - end, -})