@ -8,6 +8,7 @@ require("toggleterm").setup({
local Terminal = require("toggleterm.terminal").Terminal
local lazygit = Terminal:new({
count = 999,
cmd = "lazygit",
hidden = true,
direction = "tab",
@ -40,8 +40,7 @@ vim.api.nvim_create_autocmd("TermOpen", {
group = "Terminal",
pattern = "*",
callback = function()
vim.wo.number = false
-- vim.bo.filetype = "terminal"
vim.wo.relativenumber = false
vim.api.nvim_buf_set_keymap(0, "t", "<esc>", [[<C-\><C-n>]], { noremap = true })
vim.cmd("startinsert")
end,