Allow word selection across lines #19792

Open
opened 2026-01-31 06:53:45 +00:00 by claunia · 0 comments
Owner

Originally created by @simonLeary42 on GitHub (May 1, 2023).

When I double click a word in my terminal, it selects a word based on the wordDelimiters config option. If the word I want to select happens to occur on the right edge of my terminal, it will get wrapped onto the next line and now I can't select it with a double click. I thought I would find \n or \r\n in wordDelimiters, but it's not. It seems that there are other word delimiters hard-coded under the hood which cannot be configured.

Can this become configurable?

My workaround is to set ctrl+shift+c to copy as "singleLine", but I still have to manually click and drag.

{
    [
        {
            "command":
            {
                "action": "copy",
                "singleLine": true
            },
            "keys": "ctrl+shift+c"
        },
Originally created by @simonLeary42 on GitHub (May 1, 2023). When I double click a word in my terminal, it selects a word based on the `wordDelimiters` config option. If the word I want to select happens to occur on the right edge of my terminal, it will get wrapped onto the next line and now I can't select it with a double click. I thought I would find `\n` or `\r\n` in `wordDelimiters`, but it's not. It seems that there are other word delimiters hard-coded under the hood which cannot be configured. Can this become configurable? My workaround is to set ctrl+shift+c to copy as "singleLine", but I still have to manually click and drag. ```json { [ { "command": { "action": "copy", "singleLine": true }, "keys": "ctrl+shift+c" }, ```
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 06:53:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19792