diff --git a/nvim/.config/nvim/lua/plugins/init.lua b/nvim/.config/nvim/lua/plugins/init.lua index 5c78809..e3e266e 100644 --- a/nvim/.config/nvim/lua/plugins/init.lua +++ b/nvim/.config/nvim/lua/plugins/init.lua @@ -19,5 +19,16 @@ return { { "folke/trouble.nvim", dependencies = { "nvim-tree/nvim-web-devicons" }, - } + }, + + { + 'Wansmer/treesj', + dependencies = { 'nvim-treesitter/nvim-treesitter' }, + config = function() + local tsj = require('treesj') + tsj.setup({ + vim.keymap.set('n', 'T', tsj.toggle, { desc = "[T]oggle one-line" }), + }) + end, + }, }