Cmd+F anywhere to search - the behavior changes based on your current view.
Context-Aware Search
The same shortcut (Cmd+F) performs different searches depending on context:
- Main Window
- File Explorer
- Left Bar
- History Tab
Search AI Output or Terminal HistoryWhen the main panel is focused,
Cmd+F searches the active conversation or terminal output.Features:- Case-insensitive by default
- Regex support (toggle with button)
- Jump to next/previous match
- Match count display
- Persistent across scrolling
src/renderer/constants/shortcuts.ts:102-106AI Output Search
Search within AI conversations with advanced filtering:Search Features
Regex Support
Regex Support
Enable regex mode for advanced pattern matching:Toggle: Click the
.* button in the search barCase Sensitivity
Case Sensitivity
Toggle case-sensitive search:
- Default: Case-insensitive (“test” matches “Test”, “TEST”, “test”)
- Case-sensitive: Exact match (“test” only matches “test”)
Aa button in the search barMatch Navigation
Match Navigation
Highlight Matches
Highlight Matches
All matches are highlighted in the output with:
- Yellow background for all matches
- Orange background for the current/active match
- Auto-scroll to bring current match into view
Search Interface
The search bar appears at the top of the main panel:Terminal Output Search
Search terminal history with the same interface:Terminal-Specific Features
- ANSI code stripping: Searches the text content, ignoring terminal escape codes
- Command boundaries: Jump between command outputs
- Scroll lock: Searching disables auto-scroll to preserve results
src/main/utils/terminalFilter.ts
Auto-Scroll Control
Control whether output auto-scrolls to bottom:- Auto-scroll ON: New output scrolls into view automatically
- Auto-scroll OFF: Output stays at current scroll position
- Smart resume: Scrolling to bottom manually re-enables auto-scroll
src/renderer/constants/shortcuts.ts:71-75
Jump to Bottom
Instantly scroll to the latest output:src/renderer/constants/shortcuts.ts:57
Output Display Modes
Thinking Display
Control how AI reasoning/thinking content is shown:| Mode | Behavior |
|---|---|
| Off | Thinking is suppressed (never shown) |
| On | Thinking shown while streaming, cleared when response completes |
| Sticky | Thinking shown and remains visible after response |
src/renderer/types/index.ts:AITab
Shortcut: src/renderer/constants/shortcuts.ts:157-161
Markdown Rendering
Toggle between rendered markdown and raw text:- Syntax highlighting for code blocks
- Tables with borders and alignment
- Links as clickable URLs
- Images with zoom on click
- Mermaid diagrams rendered as SVG
src/renderer/components/TerminalOutput.tsx
Filtering History
The History panel provides advanced filtering:Filter Options
Search
Press
Cmd+F to open the search bar.Search fields:- Entry summary
- Full response content
- Session name
Filter by Type
Toggle filters:
- AUTO - Auto Run entries only
- USER - User-initiated prompts only
- ALL - Show everything (default)
src/renderer/components/HistoryPanel.tsx
Director’s Notes Search
Search your saved notes:- Full-text search across all notes
- Filter by tags
- Sort by date or title
- Regex support
src/renderer/constants/shortcuts.ts:76-80, 107-111
Log Viewer Search
Search system logs:- Filter by log level (debug, info, warn, error)
- Search by message content
- Time range filtering
- Regex patterns
src/renderer/components/LogViewer.tsx
Shortcut: src/renderer/constants/shortcuts.ts:50, 101
Search Performance
Incremental Search
Incremental Search
Search results update as you type, with debouncing to avoid performance issues:
- Debounce delay: 150ms
- Max results: 1000 matches
- Lazy highlighting: Only visible matches are highlighted
Virtual Scrolling
Virtual Scrolling
Large outputs use virtual scrolling to render only visible content:
- Handles millions of lines efficiently
- Search still finds matches in off-screen content
- Auto-scroll to matches works seamlessly
Regex Optimization
Regex Optimization
Complex regex patterns are compiled once and reused:
Keyboard Shortcuts
Tips for Effective Searching
Use Regex for Patterns
Use Regex for Patterns
Instead of searching for specific values, search for patterns:
Search History First
Search History First
Before asking the AI to “find that thing we discussed”, search History:
- Faster than re-asking
- Shows exact context
- Includes token usage stats
Combine with Auto-Scroll
Combine with Auto-Scroll
- Disable auto-scroll (
Alt+Cmd+S) - Search for pattern
- Review all matches without output moving
- Jump to bottom (
Cmd+Shift+J) to resume
Save Searches as Custom Commands
Save Searches as Custom Commands
Create custom AI commands for frequent searches:
Next Steps
Keyboard Shortcuts
Master all search shortcuts
File Explorer
Filter and search file trees
Git Integration
Search git diffs and logs
Dual-Mode Sessions
Search in both AI and terminal modes