1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00
Files
til/vim/case-insensitive-substitution.md
2015-08-24 21:25:00 -05:00

19 lines
278 B
Markdown

# 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
```
into
```
article article article article
```
See `:h s_flags` for more details.