AutoYADM commit: 2024-12-02 19:45:03
This commit is contained in:
parent
87a34d77fd
commit
08db6d3e08
2 changed files with 25 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
||||||
|
---@type Flash.Config
|
||||||
|
local conf = {
|
||||||
|
labels = "arstgmneioqwfpbjluyzxcdvkh",
|
||||||
|
jump = {
|
||||||
|
inclusive = nil,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
"folke/flash.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
vscode = true,
|
||||||
|
---@type Flash.Config
|
||||||
|
opts = conf,
|
||||||
|
-- stylua: ignore
|
||||||
|
keys = {
|
||||||
|
{ "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
|
||||||
|
{ "S", mode = { "n", "o", "x" }, 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" },
|
||||||
|
},
|
||||||
|
}
|
|
@ -72,6 +72,8 @@ return {
|
||||||
Group.new("@markup.link", colors.secondary)
|
Group.new("@markup.link", colors.secondary)
|
||||||
Group.new("@markup.list", colors.complement)
|
Group.new("@markup.list", colors.complement)
|
||||||
Group.new("@variable", colors.complement)
|
Group.new("@variable", colors.complement)
|
||||||
|
Group.new("@constant", colors.complement)
|
||||||
|
Group.new("@constant.builtin", colors.complement)
|
||||||
Group.new("@type.builtin", colors.primary)
|
Group.new("@type.builtin", colors.primary)
|
||||||
Group.new("@number", colors.secondary)
|
Group.new("@number", colors.secondary)
|
||||||
Group.new("NonText", colors.noir_7)
|
Group.new("NonText", colors.noir_7)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue