treesj
This commit is contained in:
parent
c2b9070562
commit
4ad4299d48
1 changed files with 13 additions and 0 deletions
13
lua/plugins/treesj.lua
Normal file
13
lua/plugins/treesj.lua
Normal file
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
"Wansmer/treesj",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
cmd = { "TSJToggle", "TSJJoin", "TSJSplit" },
|
||||
keys = {
|
||||
{ "J", "<cmd>TSJToggle<cr>", desc = "Toggle Treesitter Join" },
|
||||
{ "<space>tj", "<cmd>TSJJoin<cr>", desc = "Treesitter Join" },
|
||||
{ "<space>ts", "<cmd>TSJToggle<cr>", desc = "Treesitter Split" },
|
||||
},
|
||||
config = function()
|
||||
require("treesj").setup({ use_default_keymaps = false })
|
||||
end,
|
||||
}
|
Loading…
Reference in a new issue