diff --git a/.config/nvim/lua/coding.lua b/.config/nvim/lua/coding.lua index d3557ac..e3f5f59 100644 --- a/.config/nvim/lua/coding.lua +++ b/.config/nvim/lua/coding.lua @@ -17,3 +17,8 @@ packer.use { end, map('n', 'g', ':Neogit') } + +vim.api.nvim_create_autocmd('FileType', { + pattern = { 'gitcommit', 'gitrebase' }, + command = 'startinsert | 1', +})