Upper case LOREM IPSUM textcase.api.to_constant_case u
Lower case lorem ipsum textcase.api.to_lower_case l
Snake case lorem_ipsum textcase.api.to_snake_case s
Dash case lorem-ipsum textcase.api.to_dash_case d
Constant case LOREM_IPSUM textcase.api.to_constant_case n
Camel case loremIpsum textcase.api.to_camel_case c
Pascal case LoremIpsum textcase.api.to_pascal_case p
But it is missing mapping for these other awesome ones ( I added a proposed char for a starting point):
Dot case lorem.ipsum textcase.api.to_dot_case .
Title case Lorem Ipsum textcase.api.to_title_case t
Path case lorem/ipsum textcase.api.to_path_case /
Phrase case Lorem ipsum textcase.api.to_phrase_case <space>
Loving it,
The wiki here: text-case Has these mappings:
But it is missing mapping for these other awesome ones ( I added a proposed char for a starting point):
Could one add to the readme how to map the missing operator in lua (I've seen this https://github.com/johmsalas/text-case.nvim#example-in-vimscript-using-plug-with-custom-keybindings and am trying to convert it to lua), or even better add them to the default maps? Doesnt have to be what I proposed, but would be great to be able to use them.
For anyone else trying to figure it out, here's how you do it:
Or more succintly: