All Projects â†’ lambdalisue â†’ Reword.vim

lambdalisue / Reword.vim

Licence: mit
🧬 Vim plugin to provide case-preserving substitutuion

Labels

🧬 reword.vim

vim neovim reviewdog

Support Vim 8.1 or above Support Neovim 0.4 or above MIT License Doc

Replace words in a buffer in case preserving manner, with live preview feature for Vim and Neovim.

Reword preview

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].