Toggle cursor position between the start and end of a node (replaces %
)
20240116-185947.mp4
Using lazy.nvim:
return {
"xlboy/node-edge-toggler.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter" },
keys = {
{ "%", "<cmd>lua require('node-edge-toggler').toggle()<CR>", desc = "Node start/end toggle" },
}
}