diff --git a/init.lua b/init.lua index a8f42ca..0b296b3 100644 --- a/init.lua +++ b/init.lua @@ -1008,8 +1008,10 @@ require("lazy").setup({ event = "VeryLazy", -- stylua: ignore keys = { - { "s", mode = { "n", "o", "x" }, function() require("flash").jump() end, desc = "Flash", }, - { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash", }, + { "s", mode = { "n", "o", "x" }, function() require("flash").jump() end, desc = "Flash" }, + -- { "S", mode = { "n", "o", "x" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" }, -- conflicts with nvim.surround `S`. + { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" }, + { "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" }, }, }, })