diff --git a/common/.config/nvim/lua/plugins.lua b/common/.config/nvim/lua/plugins.lua index 5c120eb..7198ab7 100644 --- a/common/.config/nvim/lua/plugins.lua +++ b/common/.config/nvim/lua/plugins.lua @@ -46,6 +46,21 @@ local packer = require('packer').startup(function(use) end } + -- harpoon + use { + 'ThePrimeagen/harpoon', + config = function () + require('harpoon').setup({}) + vim.keymap.set("n", "hh", require("harpoon.ui").toggle_quick_menu, { desc = "Toggle Harpoon Menu" }) + vim.keymap.set("n", "hg", require("harpoon.mark").add_file, { desc = "Add file to harpoon list" }) + for pos = 1, 9 do + vim.keymap.set("n", "h" .. pos, function() + require("harpoon.ui").nav_file(pos) + end, { desc = "Move to harpoon mark #" .. pos }) + end + end + } + -- telescope - searching / navigation use { 'nvim-telescope/telescope.nvim', @@ -150,9 +165,6 @@ local packer = require('packer').startup(function(use) end } - -- fancy notifications - use 'rcarriga/nvim-notify' - -- FUNCTIONAL CODING STUFF -- AI Autocompletion