From 3b69ce1a0adf6a4c5d853c5d2041af07c08ff03e Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Tue, 15 Sep 2026 22:21:47 +0200 Subject: Added flash.nvim --- lua/aotrix/plugins/flash.lua | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 lua/aotrix/plugins/flash.lua (limited to 'lua/aotrix/plugins') diff --git a/lua/aotrix/plugins/flash.lua b/lua/aotrix/plugins/flash.lua new file mode 100644 index 0000000..dc8455b --- /dev/null +++ b/lua/aotrix/plugins/flash.lua @@ -0,0 +1,35 @@ +return { + "folke/flash.nvim", + event = "VeryLazy", + ---@type Flash.Config + opts = {}, + keys = { + { + "s", + mode = {"n", "x", "o"}, + function() require("flash").jump() end, + desc = "Flash" + }, { + "S", + mode = {"n", "x", "o"}, + function() require("flash").treesitter() end, + desc = "Flash Treesitter" + }, { + "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" + } + } + +} -- cgit v1.2.3