Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Changing case with regex

Open gmenih opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. In Vim, you can change character case when replacing a pattern with regex. VSCodeVim doesn't support that. Namely, I'm talking about the \U and \L operators.

E.g.: In Vim you can use the following command to change a snake case string into camel case: s:/_(.)/\u\1/g.

Describe the solution you'd like Support the changing case operators. More details here: https://vim.fandom.com/wiki/Changing_case_with_regular_expressions

Describe alternatives you've considered I usually open a file in Vim to do these replacements.

gmenih avatar Aug 17 '22 10:08 gmenih