Vim logo vim online Vim Book Ad

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

 script karma  Rating 53/16, Downloaded by 313

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.

As long as you don't already have keyboard mappings to the F5 key, cream-capitalize makes these 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 1.3 17-May-2002 6.0 Steve Hall Fixed positioning "anomalies" for title case. (Hopefully for good!)

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 [email protected] after searching the archive. Help Bram help Uganda.
SourceForge Logo