summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/trash/grapple.luaa
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/nvim/lua/plugins/trash/grapple.luaa')
-rw-r--r--dot_config/nvim/lua/plugins/trash/grapple.luaa14
1 files changed, 14 insertions, 0 deletions
diff --git a/dot_config/nvim/lua/plugins/trash/grapple.luaa b/dot_config/nvim/lua/plugins/trash/grapple.luaa
new file mode 100644
index 0000000..2d80958
--- /dev/null
+++ b/dot_config/nvim/lua/plugins/trash/grapple.luaa
@@ -0,0 +1,14 @@
+return {
+ "cbochs/grapple.nvim",
+ opts = {
+ scope = "git", -- also try out "git_branch"
+ },
+ event = { "BufReadPost", "BufNewFile" },
+ cmd = "Grapple",
+ keys = {
+ { "<leader>m", "<cmd>Grapple toggle<cr>", desc = "Grapple tag" },
+ { "<leader>M", "<cmd>Grapple toggle_tags<cr>", desc = "Grapple open tags window" },
+ { "<leader>n", "<cmd>Grapple cycle_tags next<cr>", desc = "Grapple cycle next tag" },
+ { "<leader>p", "<cmd>Grapple cycle_tags prev<cr>", desc = "Grapple cycle previous tag" },
+ },
+}