refactor(nvim): remove auto insert in gitcommit

This commit is contained in:
Price Hiller 2024-06-17 16:30:31 -05:00
parent 7686143ac2
commit 8d6a734937
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -14,14 +14,6 @@ return {
end,
})
vim.api.nvim_create_autocmd("FileType", {
pattern = "gitcommit",
callback = function()
vim.api.nvim_win_set_cursor(0, { 1, 0 })
vim.cmd.startinsert()
end,
})
require("neogit").setup({
disable_insert_on_commit = true,
disable_commit_confirmation = true,