47 lines
818 B
Lua
47 lines
818 B
Lua
return {
|
|
'flash.nvim',
|
|
event = 'DeferredUIEnter',
|
|
keys = {
|
|
{
|
|
's',
|
|
function()
|
|
require('flash').jump()
|
|
end,
|
|
mode = { 'n', 'x', 'o' },
|
|
desc = 'Flash',
|
|
},
|
|
{
|
|
'S',
|
|
function()
|
|
require('flash').treesitter()
|
|
end,
|
|
mode = { 'n', 'x', 'o' },
|
|
desc = 'Flash (treesitter)',
|
|
},
|
|
{
|
|
'r',
|
|
function()
|
|
require('flash').remote()
|
|
end,
|
|
desc = 'Remote flash',
|
|
},
|
|
{
|
|
'R',
|
|
function()
|
|
require('flash').treesitter_search()
|
|
end,
|
|
mode = { 'x', 'o' },
|
|
desc = 'Treesitter search',
|
|
},
|
|
{
|
|
'<C-s>',
|
|
function()
|
|
require('flash').toggle()
|
|
end,
|
|
'Toggle flash search',
|
|
},
|
|
},
|
|
after = function()
|
|
require('flash').setup({})
|
|
end,
|
|
}
|