You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
478 B

local M = {
"ThePrimeagen/harpoon",
branch = "harpoon2",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
local harpoon = require("harpoon")
harpoon:setup()
vim.keymap.set("n", "m", function()
require("plugins.harpoon").mark_file()
end)
vim.keymap.set("n", "<S-m>", function()
harpoon.ui:toggle_quick_menu(harpoon:list())
end)
end,
}
function M.mark_file()
require("harpoon"):list():add()
vim.notify("󱡅 marked file")
end
return M