Skip to content

With empty selection, put cursor inside new braces, quotes, etc #13

Description

@AndrewDDavis

By default, micro automatically closes brackets etc when typed, and places the cursor inside the new brackets.

It would be nice if manipulator functions replicated this functionality for empty selections, or simply deferred to micro's default behaviour for a typed single quote, brace, etc. This way, we can remap keys to the manipulator functions without loss of functionality, e.g.:

{
    "'": "command:squote"
}

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