sponsor Vim development Vim logo Vim Book Ad

convert_case.vim : Convert Case

 script karma  Rating 9/9, Downloaded by 856  Comments, bugs, improvements  Vim wiki

created by
vijayandra singh
 
script type
utility
 
description

Some times when you migrate from Windows to Linux you encounter issues in include directive where compiler looking for some include files and it can not find because upper/lower case in include file name. this utility lets you convert few selected lines by range into lower or upper case as needed by situation.
Use it as command
:1,$ Tu   => Convets whole file to upper case
:1,$ Tl   => Convets whole file to lower case
Example
" convert line 1 to 10  to upper case
1,10Tu  

" convert line 1 to 10  to lower case
1,10Tl  
 
install details
Just drop this script in Plugin directory
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
convert_case.vim 1.0 2013-02-24 7.0 vijayandra singh Initial upload
ip used for rating: 44.220.184.63

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github