lambdalisue / Reword.vim
Licence: mit
🧬 Vim plugin to provide case-preserving substitutuion
Stars: ✠39
Labels
🧬 reword.vim
Replace words in a buffer in case preserving manner, with live preview feature for Vim and Neovim.
Usage
Use Reword
command to replace the first word in a current line like:
:Reword/HelloWorld/FooBarHoge
And use /g
flags to replace all words in a current line like:
:Reword/HelloWorld/FooBarHoge/g
Prepend %
to replace all words in a buffer like:
:%Reword/HelloWorld/FooBarHoge/g
Note that the following substitutions will be applied as well with :Reword
command
Name | From | To | Disable flag |
---|---|---|---|
lowerCamelCase |
helloWorld |
fooBarHoge |
l |
snake_case |
hello_world |
foo_bar_hoge |
s |
kebab-case |
hello-world |
foo-bar-hoge |
k |
lower |
helloworld |
foobarhoge |
i |
UPPER |
HELLOWORLD |
FOOBARHOGE |
i |
Use above disable flags to disable each cases.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].