From 6943e3efc3665f4a67002162381fd02d5be0d183 Mon Sep 17 00:00:00 2001 From: zymon Date: Tue, 27 Aug 2024 20:57:02 +0200 Subject: [PATCH] fast and furious moves --- lua/znvim/plugins/editor.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lua/znvim/plugins/editor.lua b/lua/znvim/plugins/editor.lua index 38cc2eb..e569065 100644 --- a/lua/znvim/plugins/editor.lua +++ b/lua/znvim/plugins/editor.lua @@ -126,6 +126,24 @@ return { end, }, + { -- a fast motion inside a visible area + "https://github.com/ggandor/leap.nvim", + event = "BufReadPre", + config = function() + local leap = require("leap") + leap.add_default_mappings(true) + end, + }, + { -- bookmark files + "https://github.com/otavioschwanck/arrow.nvim", + event = "BufReadPre", + opts = { + show_icons = true, + leader_key = 'H', + buffer_leader_key = 'h', + } + }, + { -- displays a popup with possible key bindings "https://github.com/folke/which-key.nvim", event = "VeryLazy",