A macOS menu bar app for switching windows with fuzzy search. Hit a hotkey, type a few characters, and jump to any window instantly. Sublime Text-inspired fuzzy matching means you don't need to type exact names.
What the Repository Shows
The public source and releases show how FFWF implements fuzzy matching, keyboard operation, VoiceOver support, and resource-conscious native integration.
Features
- Configurable global hotkey (default: Option+Shift+Space)
- Sublime Text-inspired fuzzy matching algorithm
- Multi-term search: type multiple words in any order
- Keyboard navigation with arrow keys
- Full VoiceOver accessibility support
- Lightweight menu bar app with minimal resource usage
Installation
brew tap intelligrit/ffwf
brew install --cask ffwfRequires macOS 14.0+. Also available to build from source.
Architecture
Built with Swift and SwiftUI. Key components:
- WindowManager: Concurrent window enumeration via Accessibility API
- FuzzyMatcher: Scoring algorithm with pre-lowercased strings for performance
- HotkeyRecorder: Customizable global keyboard shortcut registration
Performance optimizations include icon caching, event-driven updates, and pre-computed lowercase comparisons.