From 22c9477b9642b1a8abc303ffcb44c6989c7a5ca2 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 6 Jul 2023 15:51:29 +0200 Subject: [PATCH] feat(flash): use c-s in the cmdline to toggle flash --- lua/lazyvim/plugins/extras/editor/flash.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/lazyvim/plugins/extras/editor/flash.lua b/lua/lazyvim/plugins/extras/editor/flash.lua index 730d5402..4b324456 100644 --- a/lua/lazyvim/plugins/extras/editor/flash.lua +++ b/lua/lazyvim/plugins/extras/editor/flash.lua @@ -40,6 +40,14 @@ return { end, desc = "Treesitter Search", }, + { + "", + mode = { "c" }, + function() + require("flash").toggle() + end, + desc = "Toggle Flash Search", + }, }, }, {