diff --git a/assets/settings/default.json b/assets/settings/default.json index a7d912748f70e5f386413b27eab134558c5730bf..14f649cace93b58c7dbffea1b1c79fecedc3a7cb 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -1427,8 +1427,8 @@ // Whether or not selecting text in the terminal will automatically // copy to the system clipboard. "copy_on_select": false, - // Whether to keep the text selection after copying it to the clipboard - "keep_selection_on_copy": false, + // Whether to keep the text selection after copying it to the clipboard. + "keep_selection_on_copy": true, // Whether to show the terminal button in the status bar "button": true, // Any key-value pairs added to this list will be added to the terminal's diff --git a/crates/settings/src/settings_content/terminal.rs b/crates/settings/src/settings_content/terminal.rs index bb4ab9bdb3c34d0ec5c785df69adea8e53d0e753..4c8b299c314d0a5900034f5b8237562ee2e2b8d2 100644 --- a/crates/settings/src/settings_content/terminal.rs +++ b/crates/settings/src/settings_content/terminal.rs @@ -89,7 +89,7 @@ pub struct TerminalSettingsContent { pub copy_on_select: Option, /// Whether to keep the text selection after copying it to the clipboard. /// - /// Default: false + /// Default: true pub keep_selection_on_copy: Option, /// Whether to show the terminal button in the status bar. /// diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index 130540e6344a75358c1ba553b63d009519fafe54..6acb8ca7178868c235b76a740ec79fb349fbdea1 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -3512,7 +3512,7 @@ List of `integer` column numbers "alternate_scroll": "off", "blinking": "terminal_controlled", "copy_on_select": false, - "keep_selection_on_copy": false, + "keep_selection_on_copy": true, "dock": "bottom", "default_width": 640, "default_height": 320, @@ -3690,7 +3690,7 @@ List of `integer` column numbers - Description: Whether or not to keep the selection in the terminal after copying text. - Setting: `keep_selection_on_copy` -- Default: `false` +- Default: `true` **Options** @@ -3701,7 +3701,7 @@ List of `integer` column numbers ```json { "terminal": { - "keep_selection_on_copy": true + "keep_selection_on_copy": false } } ```