Skip to content

Commit 339212f

Browse files
notpeternoaccOS
authored andcommitted
Make terminal.option_as_meta=false in default settings (zed-industries#19364)
- This reverts the change I made in zed-industries#15535 which set `option_as_meta` to `true` in the default settings. - `true` is a reasonable default for US Keyboards, but is terrible for many others which rely on `alt+<key>` for totally normal keystroke combinations.
1 parent 3d4c733 commit 339212f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/terminal/src/terminal_settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ pub struct TerminalSettingsContent {
151151
pub alternate_scroll: Option<AlternateScroll>,
152152
/// Sets whether the option key behaves as the meta key.
153153
///
154-
/// Default: true
154+
/// Default: false
155155
pub option_as_meta: Option<bool>,
156156
/// Whether or not selecting text in the terminal will automatically
157157
/// copy to the system clipboard.

docs/src/configuring-zed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,13 +1498,13 @@ List of `integer` column numbers
14981498
"directories": [".env", "env", ".venv", "venv"],
14991499
"activate_script": "default"
15001500
}
1501-
}
1501+
},
15021502
"env": {},
15031503
"font_family": null,
15041504
"font_features": null,
15051505
"font_size": null,
15061506
"line_height": "comfortable",
1507-
"option_as_meta": true,
1507+
"option_as_meta": false,
15081508
"button": false,
15091509
"shell": {},
15101510
"toolbar": {

0 commit comments

Comments
 (0)