Skip to content

Commit

Permalink
feat(harpoon): use add
Browse files Browse the repository at this point in the history
  • Loading branch information
nicojust committed May 5, 2024
1 parent d2600a6 commit 6f75eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/custom/plugins/harpoon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ return {
local harpoon = require("harpoon")
harpoon:setup({})

vim.keymap.set("n", "<leader>ha", function() harpoon:list():append() end, { desc = 'Add to harpoon' })
vim.keymap.set("n", "<leader>ha", function() harpoon:list():add() end, { desc = 'Add to harpoon' })
vim.keymap.set("n", "<C-e>", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end, { desc = 'Show harpoon' })

vim.keymap.set("n", "<leader>h1", function() harpoon:list():select(1) end, { desc = 'Open harpoon buffer 1' })
Expand Down

0 comments on commit 6f75eb3

Please sign in to comment.