From 8d6a73493748545e509987f9c98ebfe42f937aa1 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 17 Jun 2024 16:30:31 -0500 Subject: [PATCH] refactor(nvim): remove auto insert in `gitcommit` --- .../dots/.config/nvim/lua/plugins/configs/neogit.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/neogit.lua b/users/price/dots/.config/nvim/lua/plugins/configs/neogit.lua index 7916c6ab..b0173b23 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/neogit.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/neogit.lua @@ -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,