diff options
| author | Aotrix <[email protected]> | 2026-09-15 22:21:47 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-09-15 22:21:47 +0200 |
| commit | 3b69ce1a0adf6a4c5d853c5d2041af07c08ff03e (patch) | |
| tree | 86580be7cdfb2a414fee8c17ec8e94d0c8e29dfd /lua/aotrix | |
| parent | 19e2ab9d2d053afe9fbbe114142b701ad9ab7332 (diff) | |
Added flash.nvim
Diffstat (limited to 'lua/aotrix')
| -rw-r--r-- | lua/aotrix/plugins/flash.lua | 35 |
1 files changed, 35 insertions, 0 deletions
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" + }, { + "<c-s>", + mode = {"c"}, + function() require("flash").toggle() end, + desc = "Toggle Flash Search" + } + } + +} |
