From d851c40b2c0ed1ad4ece16125e8fb72e968cdca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Wed, 14 Feb 2024 23:32:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(nvim):=20add=20word=20desc?= =?UTF-8?q?ription=20for=20harpoon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/editor/harpoon.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/editor/harpoon.lua b/.config/nvim/lua/plugins/extras/editor/harpoon.lua index e28df367..7175df07 100644 --- a/.config/nvim/lua/plugins/extras/editor/harpoon.lua +++ b/.config/nvim/lua/plugins/extras/editor/harpoon.lua @@ -7,14 +7,14 @@ end table.insert(keys, { "ha", function() require("harpoon"):list():append() end, desc = "Add Mark" }) table.insert(keys, { "hh", function() require("harpoon").ui:toggle_quick_menu(require("harpoon"):list()) end, desc = "Menu" }) -table.insert(keys, { "hf", "Telescope harpoon marks", desc = "Files" }) +table.insert(keys, { "hf", "Telescope harpoon marks", desc = "Files (Telescope)" }) +table.insert(keys, { "hc", function() require("harpoon"):list():clear() end, desc = "Clear all Files" }) table.insert(keys, { "]H", function() require("harpoon"):list():next() end, desc = "Next Harpoon File" }) table.insert(keys, { "[H", function() require("harpoon"):list():prev() end, desc = "Prev Harpoon File" }) table.insert(keys, { "", function() require("harpoon"):list():next() end, desc = "Next Harpoon File" }) table.insert(keys, { "", function() require("harpoon"):list():prev() end, desc = "Prev Harpoon File" }) -table.insert(keys, { "hc", function() require("harpoon"):list():clear() end, desc = "Clear all Files" }) -- stylua: ignore end return {