Skip to content

fix: sync ghostty/config mirror with chezmoi source (macos-option-as-alt, keybinds) - #146

Closed
stanfish06 wants to merge 1 commit into
masterfrom
fix/sync-ghostty-mirror-macos-alt
Closed

stanfish06 wants to merge 1 commit into
masterfrom
fix/sync-ghostty-mirror-macos-alt

Conversation

@stanfish06

Copy link
Copy Markdown
Owner

Summary

  • Commit 901592a ("tmux", 2026-08-09) updated home-chezmoi/dot_config/ghostty/config (the file actually deployed via chezmoi) but not the top-level reference mirror ghostty/config.
  • This is a fresh (5th) instance of the drift pattern already tracked in Recurring drift between chezmoi-managed configs and top-level reference mirrors (4th occurrence) #140.
  • Synced the mirror to match: added macos-option-as-alt = true, replaced keybind = super+alt+k=close_tab:this with keybind = super+shift+k=close_tab:this, and added keybind = super+ctrl+i=inspector:toggle.

Scope

  • ghostty/config only, 2 lines added/changed, 1 line replaced. No functional change to the chezmoi-deployed config — mirror only.

Note

tmux/linux/.tmux.conf was also checked against home-chezmoi/dot_tmux.conf.tmpl for the same drift risk (the 901592a commit also touched the tmux template). No sync needed there — the mirror already had pane-border-status/amux block in place independently (that's what issue #144 was about), so both files now agree functionally.

Test plan

  • Diff ghostty/config against home-chezmoi/dot_config/ghostty/config — should be identical after merge.

Generated by Claude Code

Commit 901592a added macos-option-as-alt, super+ctrl+i=inspector:toggle,
and renamed the close_tab binding to super+shift+k in
home-chezmoi/dot_config/ghostty/config (the file actually deployed via
chezmoi), but didn't update the top-level reference mirror ghostty/config.
@stanfish06

Copy link
Copy Markdown
Owner Author

Heads up: since this PR was opened, the chezmoi source drifted further from ghostty/config. Commit 5cb170b (2026-09-11) changed font-family in home-chezmoi/dot_config/ghostty/config from Iosevka to Berkeley Mono, but the top-level mirror (ghostty/config) still has font-family = Iosevka. Merging this PR as-is will fix macos-option-as-alt and the keybinds but leave the font out of sync.

To fully close the drift, this diff is also needed:

-font-family = Iosevka
+font-family = Berkeley Mono

Logged as part of the ongoing pattern in #140.


Generated by Claude Code

@stanfish06

Copy link
Copy Markdown
Owner Author

Obsolete: since 7398c37 (migrate to chezmoi), home-chezmoi/dot_config/ghostty/config is a symlink to ghostty/config, and master already contains macos-option-as-alt, the close_tab rebind and the inspector bind.

@stanfish06 stanfish06 closed this Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant