Skip to content

Make "repeat last insert" respect the number prefix #4359

Closed
@xJonathanLEI

Description

@xJonathanLEI

With the current implementation, when you press <n>., the last insert is repeated only once, completely ignoring the number <n>, unlike in vim where it's indeed inserted <n> times.

This feature is useful for inserting repeated characters. I currently work around this issue by recording the insert as a macro, and do <n>q instead, but this isn't very efficient.

I would like to implement this feature, but would love to get a green light from the core team first just in case the current behavior is actually intended. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-helix-termArea: Helix term improvementsC-enhancementCategory: Improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions