# Source: https://docs.windsurf.com/windsurf/vibe-and-replace.md

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.windsurf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Vibe and Replace

> AI-powered find and replace that applies natural language prompts to each match. Use Smart mode for careful changes or Fast mode for quick transformations.

Vibe and Replace is an evolution of find and replace that allows you to search through your codebase for exact text matches and apply an AI prompt to each replacement.

Use this for more context-aware transformations and refactors.

<video autoPlay controls muted loop playsInline className="w-full aspect-video" src="https://mintcdn.com/codeium/bVGscI7v3lPUsThV/assets/windsurf/vibe-and-replace.mp4?fit=max&auto=format&n=bVGscI7v3lPUsThV&q=85&s=af192ccb94e21e78607f5a8b6884b580" data-path="assets/windsurf/vibe-and-replace.mp4" />

## Modes

Vibe and Replace can be used in two different modes:

1. `Smart` - utilizes a slower model that will apply changes more carefully

2. `Fast` - utilizes a faster model that will apply changes quickly

To set the mode, click on the `⌄` button next to the Vibe and Replace prompt box.