A Sublime Text plugin that searches across every open document in every open window — something the built-in Find doesn't do.
Sublime Text's built-in Find (Cmd+F) only searches the current file, and Find in Files only searches files on disk. This plugin searches the live buffer contents of every open tab across every open window, including unsaved documents.
Open the Command Palette (Cmd+Shift+P) and run Search All Windows.
- Type a search term (plain text or regex, case-insensitive)
- A results panel shows every match across all open windows and tabs
- Scroll through results to preview matches within the current window
- Press Enter to jump to a match (switches windows/tabs automatically)
- Press Escape to cancel and return to your original position
Add to your key bindings (Preferences → Key Bindings):
{ "keys": ["super+shift+f"], "command": "search_all_windows" }- Open the Command Palette and run
Package Control: Install Package - Search for Search All Windows and install
Copy search_all_windows.py and SearchAllWindows.sublime-commands into your Sublime Text Packages/User/ directory:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Sublime Text/Packages/User/ |
| Windows | %APPDATA%\Sublime Text\Packages\User\ |
| Linux | ~/.config/sublime-text/Packages/User/ |
Or find it via Preferences → Browse Packages… → User/.
Sublime Text 4 (build 4050+)
This plugin was written with Claude, Anthropic's AI assistant.
MIT