From 9f07471edfb11fc140b0318a876fe1cdb5110102 Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Mon, 17 Apr 2023 16:08:20 -0400 Subject: [PATCH] harpoon testing --- config/lua/keymap.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/lua/keymap.lua b/config/lua/keymap.lua index 82a8a95..3020e92 100644 --- a/config/lua/keymap.lua +++ b/config/lua/keymap.lua @@ -37,9 +37,10 @@ vim.keymap.set('n', 'pg', '"+p') -- toggle dotfiles visibility vim.keymap.set("n", "d", ":lua require('nvim-tree.api').tree.toggle_hidden_filter()") +local harpoon = require('harpoon') -- harpoon bindings vim.keymap.set("n", "hh", ":Telescope harpoon marks") -vim.keymap.set("n", "ha", ":lua require(harpoon.mark).add_file()") +vim.keymap.set("n", "ha", harpoon.marks.add_file, {}) vim.keymap.set("n", "hn", ":lua require(harpoon.ui).nav_next()") vim.keymap.set("n", "hp", ":lua require(harpoon.ui).nav_prev()") -- jumping to specific files