nvim: start git commit messages in insert mode
This commit is contained in:
parent
b46408a64a
commit
06e9f403e9
|
@ -17,3 +17,8 @@ packer.use {
|
||||||
end,
|
end,
|
||||||
map('n', '<Leader>g', ':Neogit<cr>')
|
map('n', '<Leader>g', ':Neogit<cr>')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd('FileType', {
|
||||||
|
pattern = { 'gitcommit', 'gitrebase' },
|
||||||
|
command = 'startinsert | 1',
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user