From b762d9d2b6ffc3a678e0b3afec6c352577b0580f Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Mon, 17 Apr 2023 16:10:21 -0400 Subject: [PATCH] harpoon testing --- config/lua/keymap.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/lua/keymap.lua b/config/lua/keymap.lua index a862ce3..c2f7bc8 100644 --- a/config/lua/keymap.lua +++ b/config/lua/keymap.lua @@ -37,10 +37,11 @@ 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') +-- local harpoon = require('harpoon') -- harpoon bindings vim.keymap.set("n", "hh", ":Telescope harpoon marks") -vim.keymap.set("n", "ha", harpoon.mark.add_file, {}) +vim.keymap.set("n", "ha", ":lua require(harpoon.mark).add_file()") +--vim.keymap.set("n", "ha", harpoon.mark.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