]> Arthur Taft Gitweb - nvim.git/blob - lua/plugins/harpoon.lua
Change tab indent to 4 spaces
[nvim.git] / lua / plugins / harpoon.lua
1 return {
2   {
3     "ThePrimeagen/harpoon",
4     branch = "harpoon2",
5     config = function()
6       local harpoon = require("harpoon")
7       harpoon:setup()
8       local map = vim.keymap.set
9       map("n", "<leader>ha", function() harpoon:list():add() end, { desc = "Harpoon add" })
10       map("n", "<leader>hm", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end, { desc = "Harpoon menu" })
11     end,
12   },
13 }