Skip to content
Discussion options

You must be logged in to vote

I think the jump list may be a bug. It looks like the head of the range is preserved but the anchor gets reset to the start of the replacement range. But equally, that might be intentional/unavoidable/a unfortunate consequence of the current implementation. If you search past issues for reflow stuff, there have been a lot of complications with it over the years.

Since the head seems still to be in the right place though, you could just <C-o><A-;>l to get back to your saved jump point:

I don’t think there’s a : command for tree-sitter matches, only the mi/a keybindings. You can’t put an @ sequence in a [":foo"] binding, but you can type anything in a @foo sequence e.g. @mip:reflow<ret>

Pu…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pekp
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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