Skip to content

[mini.jump2d] Can we replicate what folke/flash.nvim does where labels are characters from the jump target words #1257

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

You must be logged in to vote

The closest to the described workflow you can get (while using something pre-built) is with single_character builtin jump options. Here is an example of how it can be used (which can be made into a separate mapping; doesn't quite work as a default options for technical reasons).

To read more about optimizing 'mini.jump2d', you can take a look at #1033.

That said, computing labels independently of which text is underneath them is the core design of 'mini.jump2d' which won't be changed. This is mostly because I find an "initiate jumping with a single key press while intentionally limiting choices" approach more straightforward to understand.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

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