Skip to content

Using - and + combined with search patterns in ex-commands #99

@seriesof

Description

@seriesof

Hi Ali,

In ed and nvi, i often use - and + in commands for more specific line range matching, but this does not seem to work as expected in neatvi when combined with search patterns.

This works in neatvi:
-2;+5s/^/> /

But this doesn't:
.,/^$/-s/^/#/

Neither do this:
?word?+3s/^/> /

Appreciate all your effort on neatvi!

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