diff --git a/lua/grug-far/actions/close.lua b/lua/grug-far/actions/close.lua index 7b208557..640cf20f 100644 --- a/lua/grug-far/actions/close.lua +++ b/lua/grug-far/actions/close.lua @@ -1,5 +1,5 @@ local function close() - vim.cmd('bdelete') + vim.cmd('stopinsert | bdelete') end return close