Vim icon indicating copy to clipboard operation
Vim copied to clipboard

`ci/` for JavaScript regex

Open verhovsky opened this issue 2 years ago • 1 comments

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.

verhovsky avatar Jan 13 '24 23:01 verhovsky

https://github.com/VSCodeVim/Vim/pull/9127

HenryTSZ avatar Sep 08 '24 10:09 HenryTSZ