Skip to content

Cursor location after surround #1409

@vdegenne

Description

@vdegenne

Contributing guidelines

Module(s)

mini.surround

Description

When using for instance

sr'`

( to replace ' with ` )

after the replacement the cursor is going to the far left of the surround. Could we get an option to change this behavior, so we have 3 options:

  • put the cursor on the left of the surround
  • put the cursor on the right of the surround
  • put the cursor back where it was before the replacement operation

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsfeature-requestRequest for a feature to existing modulemini.surround

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions