VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.85k stars 1.31k forks source link

`ci/` for JavaScript regex #8822

Open verhovsky opened 9 months ago

verhovsky commented 9 months ago

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.

HenryTSZ commented 1 month ago

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