added flash
This commit is contained in:
parent
c966acfbe8
commit
36a6d599eb
23
lua/plugins/flash.lua
Normal file
23
lua/plugins/flash.lua
Normal file
@ -0,0 +1,23 @@
|
||||
return {
|
||||
"folke/flash.nvim",
|
||||
event = "VeryLazy",
|
||||
---@type Flash.Config
|
||||
opts = {},
|
||||
keys = {
|
||||
{
|
||||
"s",
|
||||
mode = { "n", "x", "o" },
|
||||
function()
|
||||
-- default options: exact mode, multi window, all directions, with a backdrop
|
||||
require("flash").jump()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"S",
|
||||
mode = { "n", "o", "x" },
|
||||
function()
|
||||
require("flash").treesitter()
|
||||
end,
|
||||
},
|
||||
},
|
||||
}
|
@ -4,5 +4,6 @@ return {
|
||||
config = function()
|
||||
require('leap').set_default_keymaps()
|
||||
end,
|
||||
event = 'VeryLazy'
|
||||
event = 'VeryLazy',
|
||||
enabled = false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user