Skip to content

Commit

Permalink
fix(harpoon): Fix wrong keybinding
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzaaft committed Mar 12, 2024
1 parent 6c79f4a commit bc09e7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/astrocommunity/motion/harpoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ return {
local prefix = "<Leader><Leader>"
maps.n[prefix] = { desc = require("astroui").get_icon("Harpoon", 1, true) .. "Harpoon" }

maps.n[prefix .. "a"] =
{ function() require("harpoon").ui:toggle_quick_menu(require("harpoon"):list()) end, desc = "Add file" }
maps.n[prefix .. "a"] = { function() require("harpoon"):list():append() end, desc = "Add file" }
maps.n[prefix .. "e"] = {
function() require("harpoon").ui:toggle_quick_menu(require("harpoon"):list()) end,
desc = "Toggle quick menu",
Expand Down

0 comments on commit bc09e7e

Please sign in to comment.