Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use matchpairs for surround #289

Open
grenzionky opened this issue Feb 24, 2020 · 0 comments · May be fixed by #325
Open

use matchpairs for surround #289

grenzionky opened this issue Feb 24, 2020 · 0 comments · May be fixed by #325

Comments

@grenzionky
Copy link

i have in my vimrc

set matchpairs+=«:»

it would be nice if lets say im on the word "Hello"

Hello World

and i press ysiw», i want it to become

«Hello» World

but as it currently is, it becomes

»Hello» World

Is there a way to make vim-surround read the list of pairs in matchpairs and add it to the list of surrounding chars that have non-matching sides (i.e. ( ), [ ], and { })

@Boolean263 Boolean263 linked a pull request May 13, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant