Skip to content

Question related to mini.jump2d #126

Answered by echasnovski
thieung asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @echasnovski Thanks for making this awesome plugin.

Related to mini.jump2d, I would like to ask a concern that does it support jump within a region selection, like https://github.com/mfussenegger/nvim-treehopper does?

Thank you!

Hi!

I am not entirely sure what this plugin does about region selection. If it selects region based on tree-sitter nodes, then no: 'mini.jump2d' is meant as jumping to spots. For selecting custom regions there are mini.ai and incremental selection in 'nvim-treesitter' itself.

Jumping based on tree-sitter nodes, however, is an interesting idea and seems to be totally doable with a custom spotter. It is not a builtin, though. If this functionality is critical t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@thieung
Comment options

Answer selected by thieung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants