Neovim incremental selection using Tree-sitter

https://pawelgrzybek.com/nvim-incremental-selection/

17 points · 3 comments · view on lemmy.world

3 Comments

hallettj@leminal.space · 3 pts · 327d

I like using leap.nvim for this since it has an added feature where you can select the node you want in one step by typing a two-letter label.

There is a similar feature in flash.nvim.

erock@lemmy.ml · 1 pts · 327d (1 reply)

Ah interesting, how does this compare with treesitter-textobjects?

sxwpb@lemmy.world · 1 pts · 324d

this is more convenient sometimes because you don’t need to think about node names when selecting