Skip to content

ci/ for JavaScript regex #8822

@verhovsky

Description

@verhovsky

In JavaScript, regexes are written like

/[a-zA-Z0-9]/.test('some text')

I would like to quickly delete/change the contents of the Regex. Since the / are basically acting like quotes/brackets, I would like it if I could place my cursor between them and run ci/, ca/, di/ and da/ commands.

Describe alternatives you've considered
ct/ means I have to move the cursor more precisely.

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