From ead43bfd754a15bdf9692e7f1a94f1a8cd29cb8f Mon Sep 17 00:00:00 2001 From: Nav Saini Date: Wed, 28 Jun 2023 21:03:16 +0530 Subject: [PATCH] esc closes telescope without intermediate normal mode --- lua/lazyvim/plugins/extras/editor/flash.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/editor/flash.lua b/lua/lazyvim/plugins/extras/editor/flash.lua index 1b5ce595..22b4de51 100644 --- a/lua/lazyvim/plugins/extras/editor/flash.lua +++ b/lua/lazyvim/plugins/extras/editor/flash.lua @@ -67,7 +67,7 @@ return { opts.defaults = vim.tbl_deep_extend("force", opts.defaults or {}, { mappings = { n = { s = flash }, - i = { [""] = flash }, + i = { [""] = flash, [""] = require("telescope.actions").close }, }, }) end,