init
This commit is contained in:
28
nvim/lua/plugins/extras/editor/flash-extended.lua
Normal file
28
nvim/lua/plugins/extras/editor/flash-extended.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
return {
|
||||
"folke/flash.nvim",
|
||||
opts = {},
|
||||
vscode = true,
|
||||
keys = {
|
||||
{
|
||||
"s",
|
||||
mode = { "n", "x", "o" },
|
||||
function()
|
||||
require("flash").jump({
|
||||
search = {
|
||||
mode = function(str)
|
||||
return "\\<" .. str
|
||||
end,
|
||||
},
|
||||
})
|
||||
end,
|
||||
desc = "Flash",
|
||||
},
|
||||
{
|
||||
"<leader>*",
|
||||
function()
|
||||
require("flash").jump({ pattern = vim.fn.expand("<cword>") })
|
||||
end,
|
||||
desc = "Jump With Current Word",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user