diff --git a/lua/astrocommunity/motion/grapple/README.md b/lua/astrocommunity/motion/grapple/README.md new file mode 100644 index 000000000..d3cd2126f --- /dev/null +++ b/lua/astrocommunity/motion/grapple/README.md @@ -0,0 +1,5 @@ +# Grapple + +**Repository:** + +Neovim plugin for tagging important files diff --git a/lua/astrocommunity/motion/grapple/grapple.lua b/lua/astrocommunity/motion/grapple/grapple.lua new file mode 100644 index 000000000..64f8a9d54 --- /dev/null +++ b/lua/astrocommunity/motion/grapple/grapple.lua @@ -0,0 +1,17 @@ +local prefix = "" +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" }, + { prefix .. "e", "GrapplePopup tags", desc = "Select from tags" }, + { prefix .. "s", "GrapplePopup scopes", desc = "Select a project scope" }, + { prefix .. "x", "GrappleReset", desc = "Clear tags from current project" }, + { "", "GrappleCycle forward", desc = "Select next tag" }, + { "", "GrappleReset", desc = "Select previous tag" }, + }, +}