aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/treesj.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/treesj.lua')
-rw-r--r--lua/plugins/treesj.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/plugins/treesj.lua b/lua/plugins/treesj.lua
new file mode 100644
index 0000000..c6b3e4a
--- /dev/null
+++ b/lua/plugins/treesj.lua
@@ -0,0 +1,11 @@
+return {
+ 'Wansmer/treesj',
+ dependencies = { 'nvim-treesitter/nvim-treesitter' },
+ keys = {
+ { desc = 'Split/Join', '<leader>j', '<Cmd>TSJToggle<CR>' },
+ },
+ opts = {
+ max_join_length = 500,
+ use_default_keymaps = false,
+ },
+ }