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 26
  • Win 14
  • Mac 9
  • Linux 3
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 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
Windows 2 0 0 0 1 2 0 1 1 0 0 0 1 0 0 0 0 5 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 2 0 1 1 0 1 1 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 1 0 1 0 0 0 0 0 0 0 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 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