diff --git a/assets/settings/default.json b/assets/settings/default.json index 21cd3b84041b89344516145dbdfe79151199bf65..cf7fd6b511ed87507e9af820bb2f6e7adc8eac17 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -1416,8 +1416,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 29294c1e55a8994f2a5c1fbbe060789fb38545dd..5dc84f737740dbfb9bf57c2ab067bf689c3e6858 100644 --- a/crates/settings/src/settings_content/terminal.rs +++ b/crates/settings/src/settings_content/terminal.rs @@ -77,7 +77,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 f0f541384f9a1e15115f2e77034ab8d82cdcca1b..95041042aa873ce5967205d227cbde9cd6adf8d1 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -3500,7 +3500,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, @@ -3678,7 +3678,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** @@ -3689,7 +3689,7 @@ List of `integer` column numbers ```json { "terminal": { - "keep_selection_on_copy": true + "keep_selection_on_copy": false } } ```