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 61
  • Win 23
  • Mac 33
  • Linux 5
Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 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
Windows 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 2 0 0
Mac 0 2 0 2 1 1 0 0 0 0 0 0 0 0 0 0 0 0 2 1 1 0 0 2 1 1 1 3 0 0 2 0 0 1 1 0 0 0 0 1 0 1 0 0 0 2
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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