Created
July 7, 2023 14:23
-
-
Save MattSPalmer/d08a3dcd6b460e004b08d6667565b16b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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", "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 = "Flash Treesitter Search", | |
}, | |
{ | |
"<c-s>", | |
mode = { "c" }, | |
function() | |
require("flash").toggle() | |
end, | |
desc = "Toggle Flash Search", | |
}, | |
}, | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment