FFF.nvim
File search cực nhanh cho AI agents và Neovim, viết bằng Rust. Có MCP server, frecency scoring, giảm token cho Claude Code/Codex/OpenCode. 3.3K stars.
Xem thêm từ README.mdThu gọn README.md
Đánh giá chi tiết
Tổng quan
FFF (Freakin Fast Fuzzy File Finder) là tool tìm kiếm file tối ưu cho cả AI agents và Neovim. Core viết bằng Rust, tập trung vào đúng một việc: file search, nhưng làm cực tốt. Có MCP server để AI agents (Claude Code, Codex, OpenCode) tìm file nhanh hơn, giảm roundtrips và token. Cho Neovim thì là fuzzy finder với typo-resistant matching, live grep, và preview.
Tính năng chính
- MCP server cho AI agents: cài bằng một lệnh curl, thêm dòng "use fff" vào CLAUDE.md là xong. Giảm thời gian và token file search so với built-in tools.
- Frecency scoring: xếp hạng kết quả dựa trên tần suất sử dụng, git status, file size, definition matches. AI agents nhận được kết quả relevant hơn, đọc ít file thừa hơn.
- Fuzzy file matching với typo-resistant: tìm file dù gõ sai tên.
- Live grep: 3 modes (fuzzy, plain, regex), cycle bằng Shift+Tab.
- Multi-grep: tìm trên nhiều patterns cùng lúc.
- Neovim plugin: preview file, git status indicators, multi-select + quickfix, flex layout responsive.
- Performance: test trên Linux kernel repo (100K files, 8GB) vẫn mượt.
Stack kỹ thuật
Rust (core engine), Lua (Neovim integration). Prebuild binary hoặc build từ source via rustup. Neovim 0.10.0+. MIT license.
Điểm mạnh
- Rust core: performance thực sự nhanh, không phải claim suông. Test trên 100K files repo.
- Dual-purpose: vừa là Neovim plugin (thay telescope/fzf), vừa là MCP server cho AI agents.
- Frecency + memory: AI agents tìm file chính xác hơn qua thời gian, giảm token waste.
- 3.3K stars, 131 forks. Active development, push gần nhất hôm qua.
Hạn chế
- 47 open issues, vẫn đang beta (tác giả note "we expect your collaboration").
- Neovim only cho UI (không hỗ trợ VS Code, JetBrains). AI agents thì cross-platform qua MCP.
- Cần Rust toolchain nếu prebuild binary không có cho platform của bạn.
Phù hợp khi nào
Neovim user cần fuzzy finder nhanh hơn telescope/fzf, hoặc developer dùng Claude Code/Codex/OpenCode muốn giảm token cho file search operations. Đặc biệt hữu ích trên monorepo lớn.