Skip to content

Commit

Permalink
Make terminal.option_as_meta=false in default settings (#19364)
Browse files Browse the repository at this point in the history
- This reverts the change I made in #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.
  • Loading branch information
notpeter authored and osiewicz committed Oct 18, 2024
1 parent 34d3bc8 commit 56a2051
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/terminal/src/terminal_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ pub struct TerminalSettingsContent {
pub alternate_scroll: Option<AlternateScroll>,
/// Sets whether the option key behaves as the meta key.
///
/// Default: true
/// Default: false
pub option_as_meta: Option<bool>,
/// Whether or not selecting text in the terminal will automatically
/// copy to the system clipboard.
Expand Down
4 changes: 2 additions & 2 deletions docs/src/configuring-zed.md
Original file line number Diff line number Diff line change
Expand Up @@ -1498,13 +1498,13 @@ List of `integer` column numbers
"directories": [".env", "env", ".venv", "venv"],
"activate_script": "default"
}
}
},
"env": {},
"font_family": null,
"font_features": null,
"font_size": null,
"line_height": "comfortable",
"option_as_meta": true,
"option_as_meta": false,
"button": false,
"shell": {},
"toolbar": {
Expand Down

0 comments on commit 56a2051

Please sign in to comment.