InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Vim tutorials

  • Character toggle case
  • Go back to last edited line
  • Move to matching bracket
  • Multiline search replace with confirmation
  • Open vim at previous location
  • Vim mini cheat sheet
  • Vim redo (undo of last undo)
  • show line numbers
 
  • Home
  • > Tutorials
  • > Vim

Vim – how to change current character case to uppercase or lowercase

By admin on Jan 15, 2016

It is often required to toggle the case of current character in Vim. Vim has lot of other powerful commands related to changing case of characters, but command for toggling one (or more characters) is most frequently used and easy to remember.

Toggle current character case

## You may need to use [SHIFT] to enter ~
[ESC] ~

Toggle case of multiple characters

To toggle case of next 5 characters.

## You may need to user [SHIFT] to enter ~
[ESC] 5~

Suggested posts:

  1. How to enable Chrome tabs on Android Lollipop
  2. AngularJS format date using date filter
  3. PHP regex – match any digit
  4. HTML5 script async – how to load script asynchronously
  5. CSS text-decoration – underline, overline and strikeout text
  6. HTML input checkbox
  7. How to debug :hover in Chrome
  8. wget handy commands
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Tutorials, Vim
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress