From cb178fab05e488828eae001e1b10019c12c5ed93 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 27 Dec 2024 18:58:54 +0100 Subject: [PATCH] Add flit & sneak --- nvim/lua/plugins/motions.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/nvim/lua/plugins/motions.lua b/nvim/lua/plugins/motions.lua index 974c181..6de80c4 100644 --- a/nvim/lua/plugins/motions.lua +++ b/nvim/lua/plugins/motions.lua @@ -34,4 +34,26 @@ return { { "", desc = "Decrement" }, }, }, + + { + "leap.nvim", + load = function() end, + lazy = false, + keys = { + { "s", "(leap-forward-till)", mode = { "n", "x", }, desc = "Leap forward to" }, + { "S", "(leap-backward)", mode = { "n", "x", }, desc = "Leap backward to" }, + { "z", "(leap-forward-till)", mode = "o", desc = "Leap forward to" }, + { "Z", "(leap-backward)", mode = "o", desc = "Leap backward to" }, + }, + }, + + { + "flit.nvim", + load = function() end, + lazy = false, + keys = { "f", "F", "t", "T" }, + after = function() + require("flit").setup() + end, + }, }