ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Search All Windows

by nathanshipley ST4

Sublime Text plugin: search across all open documents in all open windows

Labels search

Details

Installs

  • Total 44
  • Win 17
  • Mac 23
  • Linux 4
May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2
Windows 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 2 0 0 0 1 2 0 1 1 0 0 0 1 0 0 0 0 5 0 0 1 0 0 0
Mac 0 2 1 1 1 3 0 0 2 0 0 1 1 0 0 0 0 1 0 1 0 0 0 2 0 1 1 0 1 1 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0
Linux 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

Search All Windows

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.

Usage

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

Optional keybinding

Add to your key bindings (Preferences → Key Bindings):

{ "keys": ["super+shift+f"], "command": "search_all_windows" }

Installation

Via Package Control (recommended)

  1. Open the Command Palette and run Package Control: Install Package
  2. Search for Search All Windows and install

Manual

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/.

Requirements

Sublime Text 4 (build 4050+)

Attribution

This plugin was written with Claude, Anthropic's AI assistant.

License

MIT