Saturday, October 30, 2010

selection to upper case or lower case

Hi,

With gUU you can change a line to all upper case words.
With guu you can change a line to all lower case.

How can you apply this to a selection?
Meaning:
When I have a piece of code selected to status line shows --SELECT--
When I then press gUU, it removes my selection and give me the text gUU.
That's not what I want.

What I want is to:
1) Select a piece of code.
2) Press <Shift-F3> and make it upper case.
3) Press <Shift-F3> again to change it to lower case. (So a toggle function)


Rgds,
Jeri

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: