Skip to content
This repository was archived by the owner on Jun 24, 2023. It is now read-only.
This repository was archived by the owner on Jun 24, 2023. It is now read-only.

How to define a vim command? #19

@ly0

Description

@ly0

I can't find how to define a vim command in docs.
codes should like following

@vim_command("reverse")
def reverse():
    replace_word(get_word()[::-1])

and reverse() invokes when I run :reverse.

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