From 40db1a6cf2e830ecabb9b43305dd8a5160f3a70f Mon Sep 17 00:00:00 2001 From: Stephan Badragan Date: Sat, 11 May 2024 08:53:07 -0700 Subject: [PATCH] stop insert on close --- lua/grug-far/actions/close.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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