Global Search
Find files and content across your project with fuzzy, full-text, and semantic search modes.
Omnilib's global search gives you three distinct ways to find what you need across your entire project: by file name, by content, and by meaning.
Opening search
Press Cmd+F (Windows: Ctrl+F) or click the search button in the toolbar to open the search panel. On narrow viewports where the toolbar is in compact mode, search opens in a popover instead.
Search modes
File name search
Fuzzy matching on file paths. Type part of a file name — or even an approximate spelling — and Omnilib surfaces the most likely matches ranked by relevance. This mode works the same way as the quick file finder (Cmd+P), but is integrated into the unified search panel alongside the other modes.
Content search
Full-text search across every file in your project. Omnilib searches the raw text of Markdown, code, notebooks, and other text-based files. Results show the matching line and a snippet of surrounding context. Use quotes for exact phrases.
Semantic search
Vector-based search using natural language queries. Instead of matching keywords literally, semantic search finds content that is conceptually related to your query even if it uses different words.
For example, searching for "memory allocation failure" might surface a file that discusses "out-of-memory errors in the heap" — without that file containing the exact words you typed.
Semantic search requires that your project files have been indexed. Indexing runs automatically in the background after you open a project.
Reading results
All three modes display results ranked by relevance. Each result shows:
- The file name and path
- A preview snippet with the matching text highlighted
- The line number (for content and semantic results)
Click any result to open the file at the matching location. If the file is already open in a panel, Omnilib scrolls to the relevant line.
Switching modes
Use the mode tabs at the top of the search panel to switch between File name, Content, and Semantic. Your query carries over when you switch, so you can quickly compare results across modes.