From 2dab9e093cced83b8a2ae3c477052594f70e9a4d Mon Sep 17 00:00:00 2001 From: Tom Li Dobnik Date: Sat, 9 Aug 2025 18:08:51 +0200 Subject: cleanup --- .config/nvim/lua/config/plugins/harpoon.lua | 49 ----------------------------- 1 file changed, 49 deletions(-) delete mode 100644 .config/nvim/lua/config/plugins/harpoon.lua (limited to '.config/nvim/lua/config/plugins/harpoon.lua') diff --git a/.config/nvim/lua/config/plugins/harpoon.lua b/.config/nvim/lua/config/plugins/harpoon.lua deleted file mode 100644 index 25168cc..0000000 --- a/.config/nvim/lua/config/plugins/harpoon.lua +++ /dev/null @@ -1,49 +0,0 @@ -return { - "https://github.com/theprimeagen/harpoon", - branch = "harpoon2", - event = "VeryLazy", - config = function() - local harpoon = require("harpoon") - harpoon.setup({ - settings = { - save_on_toggle = true, - sync_on_ui_close = true, - key = function() - return vim.fn.getcwd() - end, - }, - }) - harpoon:setup() - - local list = harpoon:list("default") - local wk = require("which-key") - - wk.add({ - mode = { "n" }, - { - "a", - function() - list:add() - end, - hidden = true, - }, - { - "", - function() - harpoon.ui:toggle_quick_menu(list) - end, - hidden = true, - }, - }) - for i = 1, 6 do - wk.add({ - "" .. i, - function() - list:select(i) - end, - hidden = true, - mode = "n", - }) - end - end, -} -- cgit v1.2.3