Compare commits

..

3 Commits

Author SHA1 Message Date
Zynh Ludwig 4ad4299d48 treesj 2024-08-02 00:11:41 -07:00
Zynh Ludwig c2b9070562 Revert "rust: full config"
This reverts commit 00629796bb.
2024-07-30 00:54:43 -07:00
Zynh Ludwig 00629796bb rust: full config 2024-07-30 00:20:40 -07:00
1 changed files with 13 additions and 0 deletions

13
lua/plugins/treesj.lua Normal file
View 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,
}