🏠 Inicio
Pruebas de rendimiento
📊 Todos los benchmarks 🦖 Dinosaurio v1 🦖 Dinosaurio v2 ✅ Aplicaciones To-Do List 🎨 Páginas libres creativas 🎯 FSACB - Showcase definitivo 🌍 Benchmark de traducción
Modelos
🏆 Top 10 modelos 🆓 Modelos gratuitos 📋 Todos los modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de prompts 📖 Glosario de IA 🔗 Enlaces útiles
intermediate

Tìm kiếm và thay thế

#search #replace #regex

Sử dụng /pattern để tìm và :s/old/new để thay thế.

Làm thế nào để tìm kiếm từ khóa 'error' trong tệp tin vi? Sau đó, hãy cung cấp cú pháp chính xác để thay thế lần xuất hiện đầu tiên của 'foo' thành 'bar' trên dòng hiện tại, và cú pháp để thay thế toàn bộ 'foo' thành 'bar' trong toàn bộ tệp tin.