diff options
| -rw-r--r-- | content/notes/2024-09-19-use-option-key-as-meta-macos-alactritty.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/content/notes/2024-09-19-use-option-key-as-meta-macos-alactritty.md b/content/notes/2024-09-19-use-option-key-as-meta-macos-alactritty.md new file mode 100644 index 0000000..2b51443 --- /dev/null +++ b/content/notes/2024-09-19-use-option-key-as-meta-macos-alactritty.md | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | --- | ||
| 2 | title: "Use option key as meta in Alacritty under macOS" | ||
| 3 | url: use-option-key-as-meta-macos-alactritty.html | ||
| 4 | date: 2024-09-19T16:13:13+02:00 | ||
| 5 | type: note | ||
| 6 | draft: false | ||
| 7 | tags: [] | ||
| 8 | --- | ||
| 9 | |||
| 10 | To use option key under macOS as Meta key use the option | ||
| 11 | `option_as_alt` and set it to `"Both"`. | ||
| 12 | |||
| 13 | This is the example for the newer Toml file format. | ||
| 14 | |||
| 15 | ```toml | ||
| 16 | # ~/.alacritty.toml | ||
| 17 | [window] | ||
| 18 | option_as_alt = "Both" | ||
| 19 | ``` | ||
| 20 | |||
| 21 | And this is the older YAML format. | ||
| 22 | |||
| 23 | ```yaml | ||
| 24 | # ~/.alacritty.yml | ||
| 25 | window: | ||
| 26 | option_as_alt: Both | ||
| 27 | ``` | ||
| 28 | |||
| 29 | Check more at https://alacritty.org/config-alacritty.html#s20. | ||
