From 3990159461b650064cbb2e385b17a286b657790d Mon Sep 17 00:00:00 2001 From: Benjamin Chaussé Date: Mon, 17 Jun 2024 12:11:42 -0400 Subject: Telescope not needed for harpoon --- lua/plugins/harpoon.lua | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lua/plugins/harpoon.lua b/lua/plugins/harpoon.lua index 49f49cb..6f15fc4 100644 --- a/lua/plugins/harpoon.lua +++ b/lua/plugins/harpoon.lua @@ -29,24 +29,6 @@ return { harpoon:setup() - -- -- basic telescope config - -- local conf = require("telescope.config").values - -- local function toggle_telescope(harpoon_files) - -- local file_paths = {} - -- for _, item in ipairs(harpoon_files.items) do - -- table.insert(file_paths, item.value) - -- end - - -- require("telescope.pickers").new({}, { - -- prompt_title = "Harpoon", - -- finder = require("telescope.finders").new_table({ - -- results = file_paths, - -- }), - -- previewer = conf.file_previewer({}), - -- sorter = conf.generic_sorter({}), - -- }):find() - -- end - -- harpoon keybindings vim.keymap.set("n", "a", function() harpoon:list():add() end ) -- vim.keymap.set("n", "", function() toggle_telescope(harpoon:list()) end, {desc = "Open harpoon window"} ) -- cgit v1.2.3