diff --git a/lua/astrocommunity/motion/grapple-nvim/init.lua b/lua/astrocommunity/motion/grapple-nvim/init.lua index b27b7e068..215923013 100644 --- a/lua/astrocommunity/motion/grapple-nvim/init.lua +++ b/lua/astrocommunity/motion/grapple-nvim/init.lua @@ -1,10 +1,13 @@ local prefix = "" +local maps = { n = {} } +local icon = vim.g.icons_enabled and "󱡀 " or "" +maps.n[prefix] = { desc = icon .. "Grapple" } +require("astronvim.utils").set_mappings(maps) return { "cbochs/grapple.nvim", dependencies = { "nvim-lua/plenary.nvim" }, cmd = { "Grapple" }, keys = { - { prefix, desc = "Grapple" }, { prefix .. "a", "GrappleTag", desc = "Add file" }, { prefix .. "d", "GrappleUntag", desc = "Remove file" }, { prefix .. "t", "GrappleToggle", desc = "Toggle a file" },