feat(mini.jump)!: use mini.jump instead of flit

This commit is contained in:
Folke Lemaitre
2023-03-01 15:10:36 +01:00
parent 787ceab031
commit ab4938bc4a

View File

@@ -171,7 +171,7 @@ return {
-- easily jump to any location and enhanced f/t motions for Leap -- easily jump to any location and enhanced f/t motions for Leap
{ {
"ggandor/flit.nvim", "echasnovski/mini.jump",
keys = function() keys = function()
---@type LazyKeys[] ---@type LazyKeys[]
local ret = {} local ret = {}
@@ -180,11 +180,15 @@ return {
end end
return ret return ret
end, end,
opts = { labeled_modes = "nx" }, opts = {
delay = {
idle_stop = 3000,
},
},
main = "mini.jump",
}, },
{ {
"ggandor/leap.nvim", "ggandor/leap.nvim",
commit = "9a69feb",
keys = { keys = {
{ "s", mode = { "n", "x", "o" }, desc = "Leap forward to" }, { "s", mode = { "n", "x", "o" }, desc = "Leap forward to" },
{ "S", mode = { "n", "x", "o" }, desc = "Leap backward to" }, { "S", mode = { "n", "x", "o" }, desc = "Leap backward to" },