From 91d7274c3cc0819bb8a8f5af607a849ee1e1a47d Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Sat, 7 Dec 2024 10:57:24 +0100 Subject: [PATCH] harpoon: add missing shortcut to add current file accidentally removed in 15f5f780944d0350c50a1173ac4acfb66fd3f183 --- lua/nxvim/plugins/harpoon.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nxvim/plugins/harpoon.lua b/lua/nxvim/plugins/harpoon.lua index cb22dd9..b80a251 100644 --- a/lua/nxvim/plugins/harpoon.lua +++ b/lua/nxvim/plugins/harpoon.lua @@ -13,7 +13,7 @@ nx.map({ { { "mh3", "3" }, function() harpoon_ui.nav_file(3) end, desc = "Go to Harpoon #3" }, { { "mh4", "4" }, function() harpoon_ui.nav_file(4) end, desc = "Go to Harpoon #4" }, -- stylua: ignore - { "a", function() require("harpoon.mark").add_file() end, desc = "Harpoon Current File", wk_label = "Add Current File" }, + { {"mha", "a"}, function() require("harpoon.mark").add_file() end, desc = "Harpoon Current File", wk_label = "Add Current File" }, }, { wk_label = { sub_desc = "Harpoon[s]?" } }) nx.map({