Questions tagged [delimiter-matching]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
56
votes
3answers
16k views

How to jump between matching HTML/XML tags?

How to jump between matching tags (such as <div>, <span>, etc.) when editing HTML/XHTML/XML documents similarly as % is used to jump between matching parentheses?
2
votes
1answer
57 views

Distinguish between patterns that are inside open delimters and those that are not

I'm not sure of the right language here, but I need to modify all occurrences of a pattern (specifically &) that occur inside a pair of delimiters while leaving unmodified the pattern if it is '...
3
votes
1answer
192 views

How can I stop [Neo]Vim from tracking parens in certain situations?

Whenever I have to do things like this: closeparens = ")]}" or /[)\]}]/ it messes up the parenthesis tracking of the whole file. I could mitigate this with comments: # complement to ([{ (this is not ...