Skip to content

cS does not work similar to vim-surround #216

Description

@amitavdas

original text

'quoted'

operation

cS'"

result in vim-surround

"
    quoted
"

result in evil-surround

'quoted'

cS does nothing

As you can see, cS doesn't work as expected in evil-surround.
Not sure if this is intended. Not saying anyone uses cS but I am reporting what I found.
c F1 k S shows:

S runs the command evil-Surround-edit, which is an interactive
native-comp-function in ‘evil-surround.el’.

It is bound to S and <operator-state> S.

(evil-Surround-edit OPERATION)

Like evil-surround-edit, but for surrounding with additional new-lines.

It does nothing for change / delete.

Activity

  1. kiaraly commented on Apr 4, 2025

    @kiaraly

    This is the same issue #170 and is fixed by #213.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions