From 221d264a29944c00fbebaf05e2d4536f6c752464 Mon Sep 17 00:00:00 2001 From: Ben Kyd Date: Sun, 28 May 2023 16:40:08 +0100 Subject: [PATCH] ok harpoon was broke --- common/.config/nvim/lua/plugins.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/.config/nvim/lua/plugins.lua b/common/.config/nvim/lua/plugins.lua index 51454d3..11ca0de 100644 --- a/common/.config/nvim/lua/plugins.lua +++ b/common/.config/nvim/lua/plugins.lua @@ -28,14 +28,13 @@ return { -- EPIC HARPOON MOMENT 'ThePrimeagen/harpoon', lazy = false, - opts = { - tabline = true, - }, keys = { { 'hh', 'lua require("harpoon.ui").toggle_quick_menu()', desc = "Toggle harpoon menu" }, { 'hg', 'lua require("harpoon.mark").toggle_file() ', desc = "Add file to harpoon list" }, }, config = function() + require('harpoon').setup({ tabline = true }) + for pos = 1, 9 do vim.keymap.set("n", "" .. pos, function() require("harpoon.ui").nav_file(pos)