# How to Search and Replace in an Entire Document using Vim's %s Command

> Improve your text editing skills with Vim's powerful %s command for search and replace across your entire document. Get a productivity boost with quick…

- URL: https://graffino.com/til/how-to-search-and-replace-in-an-entire-document-using-vims-s-command
- Author: Nick Ciolpan
- Channel: vim
- Published: 2023-02-03
- Updated: 2024-01-30

```
:%s/search_pattern/replacement_text/g
```
