Skip to content
Makes it easy to switch whole files between snake case, hyphenation and camel case.
Branch: master
Clone or download
chiedo Merge pull request #2 from sumitpore/master
Fix 'Not enough arguments for function: CaseConvertFunc' Error
Latest commit 0a75eb4 Aug 28, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial Commit Mar 30, 2015 Add support for replacing case in selection only Mar 11, 2018

Vim-case-convert - Update the case of your variables.

Makes switching between camel case, snake case and hyphenated variables quick. Great for conforming legacy code bases or code written by a developer who ignored the standards to the desired case.


Pathogen Install

  1. Navigate to your [VIM_ROOT]/bundle directory in your local Vim setup
  2. git clone


To convert the case, select a block of text in visual mode and the enter one of the following (Self explanatory) :


These commands switch the case in ALL lines spanned by the visual selection, also outside it. To limit conversion to visual selection contents use the following:


To convert all occurences in your document then run one of the following commands:


Add a bang (eg. :CamelToHyphen!) to any of the above command to bypass the prompts before each conversion. You may not want to do that though as the plugin wouldn't know the different between variables or other text in your file.


Distributed under the same terms as Vim itself. See :help license.


You can’t perform that action at this time.