Skip to content

Commit

Permalink
Document trimBlockSelection setting (#313)
Browse files Browse the repository at this point in the history
* Document trimBlockSelection setting

* Add preview disclaimer

* Minor edit + note re how to select rectangular txt

* Add preview to h2

Co-authored-by: Matt Wojciakowski <mattwoj@microsoft.com>
  • Loading branch information
Don-Vito and mattwojo authored Apr 30, 2021
1 parent cf3bd48 commit febcf10
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions TerminalDocs/customize-settings/interaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,25 @@ When this is set to `true`, the color and font formatting of the selected text i

___

## Remove trailing white-spaces when copying text in rectangular selection to clipboard (preview)

When this is set to `true` and you copy text in a rectangular (block) selection to the clipboard, trailing white-spaces are removed from each line. When it's set to `false`, the white-spaces are preserved, ensuring that all lines have the same length. To copy text in a rectangular (block) selection, hold down the `Alt` key, right-click and drag your mouse over the text area you want to select. This can be useful for selecting text columns, etc.

**Property name:** `trimBlockSelection`

**Necessity:** Optional

**Accepts:** `true`, `false`

**Default value:** `false`

> [!IMPORTANT]
> This feature is only available in [Windows Terminal Preview](https://aka.ms/terminal-preview).
<br />

___

## Word delimiters

This determines the word delimiters used in a double-click selection. Word delimiters are characters that specify where the boundary is between two words. The most common examples are spaces, semicolons, commas, and periods.
Expand Down

0 comments on commit febcf10

Please sign in to comment.