Skip to content

mini.surround: Support auto-target similar to vim-sandwich #1498

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

You must be logged in to vote

I don't remember having this brought or even knowing about it when I used 'vim-sandwich' prior to 'mini.surround'. At the moment, it is not possible to achieve in 'mini.surround' to 100% (at least without major hackery). There is a way to group some surroundings under a single id (see, for example, implementation of b identifier), but not all of them.

I'll think a bit more it, but it doesn't look like a good fit in 'mini.surround', as it would require a new built-in surrounding id (which is a bit breaking) and non-trivial implementation specifically for that surrounding.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@lervag
Comment options

@echasnovski
Comment options

@lervag
Comment options

@echasnovski
Comment options

@lervag
Comment options

Answer selected by lervag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.surround
2 participants