From ab4938bc4a1a7a82c197a0758bd9e9b750af99e9 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Wed, 1 Mar 2023 15:10:36 +0100 Subject: [PATCH] feat(mini.jump)!: use mini.jump instead of flit --- lua/lazyvim/plugins/editor.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lua/lazyvim/plugins/editor.lua b/lua/lazyvim/plugins/editor.lua index 0460bc38..8e5fe799 100644 --- a/lua/lazyvim/plugins/editor.lua +++ b/lua/lazyvim/plugins/editor.lua @@ -171,7 +171,7 @@ return { -- easily jump to any location and enhanced f/t motions for Leap { - "ggandor/flit.nvim", + "echasnovski/mini.jump", keys = function() ---@type LazyKeys[] local ret = {} @@ -180,11 +180,15 @@ return { end return ret end, - opts = { labeled_modes = "nx" }, + opts = { + delay = { + idle_stop = 3000, + }, + }, + main = "mini.jump", }, { "ggandor/leap.nvim", - commit = "9a69feb", keys = { { "s", mode = { "n", "x", "o" }, desc = "Leap forward to" }, { "S", mode = { "n", "x", "o" }, desc = "Leap backward to" },