mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 17:03:39 +02:00
feat: added extra for flash.nvim
This commit is contained in:
parent
e865b9abe1
commit
318a4c8304
1 changed files with 26 additions and 0 deletions
26
lua/lazyvim/plugins/extras/editor/flash.lua
Normal file
26
lua/lazyvim/plugins/extras/editor/flash.lua
Normal file
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue