Skip to content

Is there a way to keep context in tags with mini.surround? #1375

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

You must be logged in to vote

The t (tag) surrounding will always delete/replace the whole tag with all attributes inside. The approach here for adjusting only tag name is to create a separate surrounding specifically for this. For example, under T surrounding as described here. With this, you can srTT to replace tag name with another tag name.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ninoM
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