Advertisement

02.01.2008 at 09:35PM PST, ID: 23131555
[x]
Attachment Details

convert characters to lower case

Asked by dwcronin in Development Editors & IDEs, Miscellaneous Programming

Tags: vi

In vim, how do I convert a line of characters to lower case?  I know how to do it with the tilde but I wondered if there is a faster way that I can map to a function key in the vimrc file.  For example, I have a line like:

char A_DuMb_vARiaBlE;

and I would like to put the cursor on the line and hit a function key so the line reads:

char a_dumb_variable;Start Free Trial
[+][-]02.01.2008 at 09:39PM PST, ID: 20803314

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2008 at 10:18PM PST, ID: 20803412

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Development Editors & IDEs, Miscellaneous Programming
Tags: vi
Sign Up Now!
Solution Provided By: ozo
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628