Skip to content

cS does not work similar to vim-surround #216

@amitavdas

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.

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