Skip to content

Apply Vim Macros on Selection / Range #21198

@equt

Description

@equt

Check for existing issues

  • Completed

Describe the feature

By using the normal command in Vim, it is possible to apply the macro on the selection lines or a specific range.

:5,10norm! @a

would execute the macro stored in register a on lines 5 through 10 (quoted from the Stack Overflow answer).

Since Zed open command palette on colon instead, a command like apply macro to selection should help.

Environment

Zed: v0.162.5 (Zed)
OS: macOS 15.1.1
Memory: 64 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help present your vision of the feature

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions