Skip to content

":%s/bad/good" => "Replace bad with good in current line" is incorrect #11

@joshtch

Description

@joshtch

It should be :s/bad/good. Having :%s instead of :s means the substitution is applied to all lines in the file instead of just the current line.

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