InfoHeap
Tech tutorials, tips, tools and more
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. Mac finder – change search default folder to current folder
  2. Mac – how to change default location for screenshots
  3. Vim (vi) – multiline search replace with confirmation
  4. Bash – newline and other escape character in string
  5. How to create ssh public/private keys on command line
  6. Jenkins execute shell – how to continue on error
  7. How to specify environment variable for a command on Linux
  8. Vim – show line numbers
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 | 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

Copyright © 2023 InfoHeap.

Powered by WordPress