Skip to content

Instantly share code, notes, and snippets.

@masato3
Last active June 19, 2025 14:11
Show Gist options
  • Save masato3/b8b772866d925d86bd4569f8c1febb65 to your computer and use it in GitHub Desktop.
Save masato3/b8b772866d925d86bd4569f8c1febb65 to your computer and use it in GitHub Desktop.
Neovim plugin treesj
return {
'Wansmer/treesj',
lazy = true,
dependencies = { 'nvim-treesitter/nvim-treesitter' },
vim.keymap.set('n', '<leader>m', function()
require('treesj').toggle({ split = { recursive = true } })
end,
{ desc = 'treesj: toggle split/merge' }
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment