sponsor Vim development Vim logo Vim Book Ad

cream-capitalization : Capitalize a selection in one of four ways

 script karma  Rating 104/36, Downloaded by 2193    Comments, bugs, improvements  Vim wiki

created by
Steve Hall
 
script type
utility
 
description

A simple collection of functions (and mappings) to capitalize a selection in one of four ways:
  UPPERCASE, lowercase, Title Case and rEVERSE cASE.

cream-capitalize makes these F5 combination keyboard shortcuts available:

  F5           Capitalize selection, title case
  Shift+F5     Uppercase selection
  Alt+F5       Lowercase selection
  Ctrl+F5      Reverse case of selection

This is one of many custom utilities and functions for gVim from the Cream project ( http://cream.sourceforge.net ), a configuration of Vim for those of us familiar with Apple and Windows software.

 
install details
Simply copy this file and paste it into your vimrc. Or you can drop the entire file into your plugins 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
cream-capitalization.vim 2.4 2008-01-29 6.0 Steve Hall Title case keeps select articles lower case, added localized cursor positioning function call.
cream-capitalization.vim 2.3 2003-12-06 6.0 Steve Hall Fixed function name inconsistency. (Sorry. ;)
cream-capitalization.vim 2.2 2003-12-06 6.0 Steve Hall Cleaner, faster. First update released here since v1.3. Matches current Cream. (See internal ChangeLog.)
cream-capitalization.vim 1.3 2002-05-17 6.0 Steve Hall Fixed positioning "anomalies" for title case. (Hopefully for good!)
ip used for rating: 54.204.103.179

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.
   
SourceForge.net Logo