Skip to content

use matchpairs for surround #289

@grenzionky

Description

@grenzionky

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 { })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions