We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<C-CR>
1 parent b788897 commit a355105Copy full SHA for a355105
lua/tinygit/commands/commit/msg-input.lua
@@ -91,6 +91,7 @@ local function setupKeymaps(confirmationCallback)
91
-- confirm and close
92
confirmationCallback(commitSubject, commitBody)
93
vim.cmd.bwipeout(bufnr)
94
+ vim.cmd.stopinsert() -- when confirming in insert mode don't stay in insert mode
95
end
96
97
map("n", conf.keymaps.normal.confirm, confirm)
0 commit comments