feat: improve git/term config

main
Ian Mancini 2 years ago
parent db6e5678a2
commit 6e2f59618c

@ -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.wo.relativenumber = false
-- vim.bo.filetype = "terminal"
vim.api.nvim_buf_set_keymap(0, "t", "<esc>", [[<C-\><C-n>]], { noremap = true })
vim.cmd("startinsert")
end,

Loading…
Cancel
Save