Skip to content

around destination? #1799

Open
Open
@josharian

Description

@josharian

Very crude idea here, just jotting it down.

Problem

Wrapper snippets live in the top level Talon namespace. They compete with all other commands. This makes them hard to name, particularly as they become numerous.

Proposal

An "around" destination. Then instead of "if wrap air" it'd be "snip if around air", just as it is "snip range before/to/after air".

This could also be used as an alternate spoken form for paired delimiter wrapping. Instead of "curly wrap air" it could be "wrap curly around air".

This might also open the path to multiple positional holes in snippets, if the target had multiple ranges selected. But this gets complicated quickly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions