🏠 Início
Avaliações
📊 Todos os Benchmarks 🦖 Dinossauro v1 🦖 Dinossauro v2 ✅ Aplicações To-Do List 🎨 Páginas Livres Criativas 🎯 FSACB - Showcase Definitivo 🌍 Benchmark de Tradução
Modelos
🏆 Top 10 Modelos 🆓 Modelos Gratuitos 📋 Todos os Modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de Prompts 📖 Glossário de IA 🔗 Links Úteis
intermediate

Tìm kiếm và thay thế

#vim #search #substitution

Tìm một chuỗi ký tự cụ thể và thay thế nó bằng chuỗi khác trong tệp.

Nhấn '/' để bắt đầu tìm kiếm, nhập 'error' và nhấn Enter để tìm từ lỗi đầu tiên. Sử dụng 'n' để tìm tiếp theo và 'N' để tìm ngược lại. Để thay thế, gõ ':s/bug/feature/g' để thay thế tất cả các từ 'bug' bằng 'feature' trên dòng hiện tại. Thử thay thế trong toàn bộ tệp bằng ':%s/old/new/gc'.