🏠 Ana Sayfa
Benchmarklar
📊 Tüm Benchmarklar 🦖 Dinozor v1 🦖 Dinozor v2 ✅ To-Do List Uygulamaları 🎨 Yaratıcı Serbest Sayfalar 🎯 FSACB - Nihai Gösteri 🌍 Çeviri Benchmarkı
Modeller
🏆 En İyi 10 Model 🆓 Ücretsiz Modeller 📋 Tüm Modeller ⚙️ Kilo Code
Kaynaklar
💬 Prompt Kütüphanesi 📖 YZ Sözlüğü 🔗 Faydalı Bağlantılar
Advanced

Tự động hóa lệnh dựa trên loại tệp

#autocommand #filetype #automation #configuration

Sử dụng Autocommands để thiết lập các tùy chọn môi trường riêng biệt cho từng loại tệp (ví dụ: Python, HTML, C).

Giải thích cú pháp :autocmd FileType pattern command. Ví dụ: Tự động thụt dòng 4 khoảng trắng cho Python: :autocmd FileType python setlocal shiftwidth=4 expandtab. Hướng dẫn cách liệt kê các autocmd hiện tại bằng :autocmd.