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" }, }, }