Skip to content

Inconsistent behavior in visual mode #32

@blasco

Description

@blasco

First of all, I think this operator is great! I'm observing some strange behavior that I think we could improve. As an example, I have this:

Screenshot_2019-10-07_23-56-07

If I select a region and I perform the alignment operator with the '(' character as target, I get his:

Screenshot_2019-10-07_23-56-48

Which breaks the previous parts, which are not selected.

If I break the paragraph in two, then it works as I would expect:

Screenshot_2019-10-07_23-57-18

Would it be possible to have the same behavior without having to break in blocks the paragraph? I don't want that the alignment of the unselected zone gets affected, so I can align part by part.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions