From 43de6e2d54cae0a9d54598e9f0fac6e86afb532d Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Thu, 24 Sep 2026 10:53:55 +0200 Subject: fix(home): let left Option compose æøå in Ghostty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ghostty defaults macos-option-as-alt to true on U.S. layouts. --- modules/home/ghostty.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home/ghostty.nix b/modules/home/ghostty.nix index 77e30d3..49025d6 100644 --- a/modules/home/ghostty.nix +++ b/modules/home/ghostty.nix @@ -4,6 +4,10 @@ home.file.".config/ghostty/config".text = '' theme = tokyonight-storm + # U.S. layout makes Ghostty treat Option as Alt by default, which kills + # the compose sequences for ae/oe/aa. Left Option composes, right is Alt. + macos-option-as-alt = right + window-padding-x = 12 window-padding-y = 12 window-decoration = true -- cgit v1.3.1