Loading ...
Sorry, an error occurred while loading the content.

Re: selection to upper case or lower case

Expand Messages
  • Jeri Raye
    ... This seems to work for the text selected when your in select mode vmap gv~ stops the select-mode gv selects the last selection, but then
    Message 1 of 5 , Oct 30, 2010
    • 0 Attachment
      >> 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
    Your message has been successfully submitted and would be delivered to recipients shortly.