News for hackers. Stuff that matters.
Re:Pantograph: A Fluid and Typed Structure Editor by ivanjermakov on Saturday February 08, 2025 @06:26AM (#42982221)
I utilize structural editing in nvim using some plugins:

- treesitter-textobjects with powerful select and expand selection motions: https://github.com/nvim-treesitter/nvim-treesitter-textobjec...

- sibling-swap fun name but does exactly that: https://github.com/Wansmer/sibling-swap.nvim

Both use Tree-sitter for AST provision and you can use it with any popular language or even write your own parser: https://tree-sitter.github.io/tree-sitter/

There are no comments on this comment yet.