From 19caa651a322856bada07e1ea49adb3550935961 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Mon, 2 Dec 2024 20:10:04 -0500 Subject: [PATCH] AutoYADM commit: 2024-12-02 20:10:04 --- .config/nvim/lua/plugins/flash.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/nvim/lua/plugins/flash.lua b/.config/nvim/lua/plugins/flash.lua index 4a6e702f..e0f62b06 100644 --- a/.config/nvim/lua/plugins/flash.lua +++ b/.config/nvim/lua/plugins/flash.lua @@ -16,6 +16,10 @@ local conf = { char = { jump_labels = true, highlight = { backdrop = false }, + keys = { "f", "F", "t", "T" }, + char_actions = function(motion) + return { [motion:lower()] = "next", [motion:upper()] = "prev" } + end, }, }, } @@ -33,5 +37,6 @@ return { { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" }, { "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" }, { "", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" }, + -- { "", mode = { "n", "x", "o" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" }, }, }