Saturday, October 30, 2010

Re: selection to upper case or lower case

>> 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--

This seems to work for the text selected when your in select mode
vmap <S-F3> <esc>gv~

<esc> stops the select-mode
gv selects the last selection, but then in visual mode
~ does then the toggling

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: