Skip to content

Commit

Permalink
feat(plugin): use <Plug> for keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
NStefan002 committed Nov 9, 2024
1 parent 8e542d4 commit 1a63c93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/wormhole.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ api.nvim_create_autocmd("WinClosed", {
desc = "Remove labels when a window is closed",
})

vim.keymap.set("n", "<c-s-i>", function()
vim.keymap.set("n", "<Plug>(WormholeLabels)", function()
require("wormhole.labels").create_labels()
end, { desc = "Create wormhole labels" })
end, { noremap = true })

0 comments on commit 1a63c93

Please sign in to comment.