[The Computer Kid] Convert to Uppercase or Lowercase in Vim

1 view
Skip to first unread message

Conrad Sykes

unread,
Jun 20, 2013, 4:11:27 PM6/20/13
to the-comp...@googlegroups.com
Depending on what you are doing in Vim you may need to convert a section of text, or the entire document, to uppercase or lowercase.

  1. Select the text you want to convert by going into visual mode with "v" or block visual mode with "ctrl-v" and then using movements select the text.
  2. type "gU" to convert the text to upper case or "gu" to go to lower case.


--
Posted By Conrad Sykes to The Computer Kid at 6/20/2013 01:11:00 PM
Reply all
Reply to author
Forward
0 new messages