🏠 Startseite
Vergleiche
📊 Alle Benchmarks 🦖 Dinosaurier v1 🦖 Dinosaurier v2 ✅ To-Do-Listen-Apps 🎨 Kreative freie Seiten 🎯 FSACB - Ultimatives Showcase 🌍 Übersetzungs-Benchmark
Modelle
🏆 Top 10 Modelle 🆓 Kostenlose Modelle 📋 Alle Modelle ⚙️ Kilo Code
Ressourcen
💬 Prompt-Bibliothek 📖 KI-Glossar 🔗 Nützliche Links
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.