Today I Learned

hashrocket A Hashrocket project

Case-Insensitive Substitution

Use the i s-flag to perform a case-insensitive substitution (search and replace).

For instance, :%s/blog/article/gi will turn

blog bLOg BLOG Blog


article article article article

See :h s_flags for more details.

See More #vim TILs
Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.