From 6b5fcfdb983d41d6a0da32f7cbad1a38a0202aa5 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 21 Feb 2026 19:12:14 -0500 Subject: feat(neovim): Harpoon 2 Added ThePrimeagen/harpoon2 added to neovim configuration file. This can be accessed by typing a to add a file and h to view the list of files while in normal mode. --- .config/nvim/lua/remaps.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config/nvim/lua/remaps.lua') diff --git a/.config/nvim/lua/remaps.lua b/.config/nvim/lua/remaps.lua index 6fec671..854b61a 100644 --- a/.config/nvim/lua/remaps.lua +++ b/.config/nvim/lua/remaps.lua @@ -34,6 +34,10 @@ vim.keymap.set('n', 'ps', function() tsBuiltin.grep_string({ search = vim.fn.input("Grep > ") }) end) +local harpoon = require("harpoon") +vim.keymap.set("n", "a", function() harpoon:list():add() end) +vim.keymap.set("n", "h", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end) + vim.keymap.set("n", "u", vim.cmd.UndotreeToggle) -- Knap Keybinds -- cgit v1.2.3