Skip to content

Commit

Permalink
harpoon: add missing shortcut to add current file
Browse files Browse the repository at this point in the history
accidentally removed in 15f5f78
  • Loading branch information
ttytm committed Dec 7, 2024
1 parent 060a85d commit 91d7274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nxvim/plugins/harpoon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ nx.map({
{ { "mh3", "<S-m>3" }, function() harpoon_ui.nav_file(3) end, desc = "Go to Harpoon #3" },
{ { "mh4", "<S-m>4" }, function() harpoon_ui.nav_file(4) end, desc = "Go to Harpoon #4" },
-- stylua: ignore
{ "<S-m>a", function() require("harpoon.mark").add_file() end, desc = "Harpoon Current File", wk_label = "Add Current File" },
{ {"mha", "<S-m>a"}, function() require("harpoon.mark").add_file() end, desc = "Harpoon Current File", wk_label = "Add Current File" },
}, { wk_label = { sub_desc = "Harpoon[s]?" } })

nx.map({
Expand Down

0 comments on commit 91d7274

Please sign in to comment.