Skip to content

Quickfix stop at end of list #583

Closed Answered by echasnovski
9mm asked this question in Q&A
Nov 23, 2023 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

Hey, really nice job on bracketed. Is there a way to stop at the end of ]q similar to how "cn" works? If it wraps back around I can never tell where im at in the list, i was thinking maybe this could be an option?

Hi!

Sure. Almost all targets support wrap flag which is true by default. To not wrap for quickfix target, use the following setup:

require('mini.bracketed').setup({ quickfix = { options = { wrap = false } } })

Replies: 3 comments 1 reply

Comment options

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

You must be logged in to vote
0 replies
Comment options

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

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