diff --git a/assets/settings/default.json b/assets/settings/default.json index ae1f163c52fc4278445af3c019df43f674cc5174..b63f22247fbd5d7c9cc8f7eb8fba3096e0a688c8 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -1012,7 +1012,7 @@ // "alternate_scroll": "on", // 2. Default alternate scroll mode to off // "alternate_scroll": "off", - "alternate_scroll": "off", + "alternate_scroll": "on", // Set whether the option key behaves as the meta key. // May take 2 values: // 1. Rely on default platform handling of option key, on macOS diff --git a/crates/terminal/src/terminal_settings.rs b/crates/terminal/src/terminal_settings.rs index ee20961f79e348e9a6cf0d90d13532c8cdfe66c4..627cebc48d68d540cf1a002ca457ceb4b493a043 100644 --- a/crates/terminal/src/terminal_settings.rs +++ b/crates/terminal/src/terminal_settings.rs @@ -181,7 +181,7 @@ pub struct TerminalSettingsContent { /// presses when in the alternate screen (e.g. when running applications /// like vim or less). The terminal can still set and unset this mode. /// - /// Default: off + /// Default: on pub alternate_scroll: Option, /// Sets whether the option key behaves as the meta key. /// diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index b2bc9ff747b0bd717f135827d9a64e12c2a1ed01..5d4f3863f3418a335ab7c147dfdb5766afe5c0ea 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -2104,7 +2104,7 @@ List of `integer` column numbers ```json { "terminal": { - "alternate_scroll": "off", + "alternate_scroll": "on", "blinking": "terminal_controlled", "copy_on_select": false, "dock": "bottom", @@ -2147,7 +2147,7 @@ List of `integer` column numbers - Description: Set whether Alternate Scroll mode (DECSET code: `?1007`) is active by default. Alternate Scroll mode converts mouse scroll events into up / down key presses when in the alternate screen (e.g. when running applications like vim or less). The terminal can still set and unset this mode with ANSI escape codes. - Setting: `alternate_scroll` -- Default: `off` +- Default: `on` **Options**