Skip to content

E492 Not an editor command for multiline sed substitution  #141

Description

@projectmentor

this command threw an E492:

:182,187s/source/target/

Expected result first occurrence of "source" in any lines from 182 to 187 should have been replaced by "target"

However I was able to substitute on a single line like so:

:s/source/target/

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