-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More case conversions #5197
Labels
Comments
The macro solution would be to create macros converting to and from each case, if I understand correctly. That would be 42 different macros and 42 different keybinds in total for converting between each casing. The key benefit of the proposed (original) solution in the #4615 PR is that seven different keybinds is enough, one for each target casing. |
Merged
FWIW, I was able to do this using [keys.normal.g.c]
p = ":pipe ccase --to pascal"
c = ":pipe ccase --to camel"
C = ":pipe ccase --to uppercamel"
k = ":pipe ccase --to kebab"
s = ":pipe ccase --to snake"
S = ":pipe ccase --to screamingsnake" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
converting through different patterns of cases would be awesome, like:
convert to snake_case
convert to camel case
convert to js case (like camel, but with first letter downcased)
The text was updated successfully, but these errors were encountered: