LazyVim.LazyVim/lua/lazyvim/plugins/extras/editor/flash.lua

27 lines
478 B
Lua
Raw Normal View History

2023-06-21 10:51:01 +02:00
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,
},
},
},
}