Activating Quick Select
When activated, WezTerm searches the visible terminal content for matching patterns and highlights them with one or two character labels.
How It Works
1
Activate quick select mode
Press
Ctrl+Shift+Space to scan the terminal for patterns.2
View highlighted matches
Matching text is highlighted with letter/number prefixes (like
a, b, aa, etc.).3
Type the prefix to copy
Type the prefix in lowercase to copy the match to clipboard and exit.
4
Or type uppercase to paste
Type the prefix in UPPERCASE to copy AND paste the match immediately.
Default Patterns
Quick select automatically matches:- URLs: http, https, and other web addresses
- File paths: Absolute and relative filesystem paths
- Git hashes: SHA commit hashes (6+ hex characters)
- IP addresses: IPv4 addresses
- Numbers: Numeric values
- UUIDs: Standard UUID format
Custom Patterns
Add your own patterns to match domain-specific text:Quick Select Configuration
Custom Patterns
More Pattern Examples
Customizing the Alphabet
Change which characters are used for labels:Custom Alphabet
The default alphabet is optimized for touch typing:
asdfqwerzxcvjklmiuopghtybn1234567890Visual Customization
Customize how matches are highlighted:Highlight Colors
Remove Styling
For cleaner visual focus, remove color and styling from the pane:Clean Display
Advanced Usage
Opening URLs
Quick URL Opening
Copying Multiple Matches
Sequential Copying
Selecting and Pasting
Use uppercase labels for instant paste:Copy and Paste
Exiting Quick Select
Use Cases
Development Workflow
System Administration
Container Management
Network Operations
IP Addresses
Pattern Syntax
Quick select patterns use regular expression syntax:Performance Considerations
- Quick select only scans visible terminal content
- Complex patterns may take longer to match
- Large terminal windows have more content to scan
- Consider using simpler patterns for better performance
Comparison: Quick Select vs Copy Mode
Use Quick Select when:
- Copying URLs, hashes, IDs, or other patterns
- Speed is important
- Pattern is visible on screen
- Selecting arbitrary text
- Needing multi-line selection
- Pattern is not pre-defined
- Wanting Vim-style navigation
Tips and Tricks
- Combine with scrollback: Scroll to make the desired text visible, then activate quick select
- Use uppercase for workflows: Uppercase paste is perfect for shell command construction
- Refine patterns over time: Add patterns you frequently need to your config
- Test patterns: Use regex testing tools to validate patterns before adding them
- Keep alphabet short: Fewer characters mean shorter labels and faster selection