From 30fa6c3354acc22fd9093f6ef50e4006bef1be39 Mon Sep 17 00:00:00 2001 From: Dmitri Date: Fri, 13 Jun 2025 14:22:54 +0200 Subject: [PATCH] harpoon --- nvim/lua/kanopo/plugins/harpoon.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 nvim/lua/kanopo/plugins/harpoon.lua diff --git a/nvim/lua/kanopo/plugins/harpoon.lua b/nvim/lua/kanopo/plugins/harpoon.lua new file mode 100644 index 0000000..019cdc2 --- /dev/null +++ b/nvim/lua/kanopo/plugins/harpoon.lua @@ -0,0 +1,14 @@ +return { + "ThePrimeagen/harpoon", + branch = "harpoon2", + dependencies = { + "nvim-lua/plenary.nvim", + "nvim-telescope/telescope.nvim" + }, + config = function() + local harpoon = require('harpoon') + harpoon:setup({}) + vim.keymap.set("n", "a", function() harpoon:list():add() end) + vim.keymap.set("n", "", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end) + end +}