# Text selection

> Use smart selection and rectangular (column) selection to quickly highlight text in Warp.

- 网址：https://funcoding.ai/agents/warp/terminal/more-features/text-selection/
- 来源：Warp 官方文档原文（英文），MIT 许可，同步于 2026-10-11
- 官方原文：https://docs.warp.dev/terminal/more-features/text-selection/

---
## Smart selection

**Smart selection** goes beyond the typical double-click selection, which only highlights a single word. Instead, it uses semantic rules to treat common patterns (like URLs or file paths) as one unit, even when separated by punctuation or whitespace.

<figure>
![Using smart selection to select a file path by double clicking.](https://funcoding.ai/official-assets/warp/src/assets/terminal/smart-selection.webp)
<figcaption>Using smart selection to select a file path by double clicking.</figcaption>
</figure>

Double-click on text in the input or block list. The following patterns are recognized:

1. URLs
2. File paths
3. Email addresses
4. IP addresses
5. Floating point numbers, including scientific notation.

You can toggle smart selection on the **Settings** > **Features** > **Terminal** > **Double-click smart selection**. If disabled, you can instead manually select specific punctuation characters to be included within word boundaries.

## Rectangular selection

**Rectangular selection** lets you highlight text in a clean vertical block (also called _column_ or _box_ selection). This is especially useful for copying command output, logs, or prefixed text without grabbing unwanted characters.

<figure>
![Using rectangular selection to select by columns in the block output.](https://funcoding.ai/official-assets/warp/src/assets/terminal/rectangular-selection.webp)
<figcaption>Using rectangular selection to select by columns in the block output.</figcaption>
</figure>

Hold the modifier keys while dragging your mouse:

* macOS: `⌘+Option`
* Windows and Linux: `Ctrl+Alt`
