🏠 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
Advanced

Thay thế biến trên nhiều file (Arglist)

#vi #arglist #project-management #refactoring

Thực hiện tìm và thay thế tên biến đồng thời trên toàn bộ tập tin dự án.

Bạn cần đổi tên hàm 'tinh_tong' thành 'calculate_sum' trong 5 file code .py khác nhau. Hãy mô tả quy trình: (1) Nạp 5 file này vào argument list của vi, (2) Sử dụng lệnh :argdo để thực hiện phép thay thế (substitute) tên hàm mới, và (3) Lưu thay đổi cho tất cả các file cùng lúc mà không cần mở từng file một.