Skip to content

Multiple surrounds from same visual selection #392

@cvincent

Description

@cvincent

Is there some way to keep my visual selection after <Plug>VSurround? I tried creating a mapping to call normal gv after <Plug>VSurround, but the result is that it doesn't wait for me complete my surround incantation before reselecting my selection from before the current one. I can manually gv afterwards (and it isn't quite the selection I want, as it selects my previous selection plus the new surrounds, but I could live with that), but it would be really nice to just keep the selection so I can keep adding more surrounds.

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