diff --git a/lua/lazyvim/plugins/extras/editor/flash.lua b/lua/lazyvim/plugins/extras/editor/flash.lua new file mode 100644 index 00000000..ed398bba --- /dev/null +++ b/lua/lazyvim/plugins/extras/editor/flash.lua @@ -0,0 +1,26 @@ +return { + { "ggandor/leap.nvim", enabled = false }, + { "ggandor/flit.nvim", enabled = false }, + { + "folke/flash.nvim", + event = "VeryLazy", + ---@type Flash.Config + opts = {}, + keys = { + { + "s", + mode = { "n", "x", "o" }, + function() + require("flash").jump() + end, + }, + { + "S", + mode = { "o", "x" }, + function() + require("flash").treesitter() + end, + }, + }, + }, +}