Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
RegExr
RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.
What is the vim-way of replacing for example a variable in camelCase with its snake_case variant? I have installed vim-abolish plugin of tpope and it provides mappings like crs for the word under cursor.
I provide two commands in lh-style on this topic.
snake is one of the possible naming policies. Several are hard-coded: snake, UpperCamelCase, lowerCamelCase, SCREAMING_SNAKE_CASE. Other can be configured (in local vimrc plugins for instance), and then used where we can expect it to make sense: member variables, local variables, static variables, types, getter...