feat(ghostty): adopt live config into repo
The repo carried an empty home_config/ghostty/config; the actual working config (Victor Mono Nerd Font, australis theme, ssh-terminfo, scrollback, macOS option-as-alt) lived only on the machine. Pull it in so stow links the real config instead of blanking it.
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
# Ghostty configuration
|
||||
# Docs: https://ghostty.org/docs/config
|
||||
# Reload in-app without restarting: Cmd+Shift+,
|
||||
|
||||
# --- Font ---------------------------------------------------------------
|
||||
# VictorMono Nerd Font (installed in ~/Library/Fonts). The "Mono" variant
|
||||
# keeps glyphs strictly fixed-width, which is what you want in a terminal.
|
||||
font-family = VictorMono Nerd Font Mono
|
||||
font-size = 14
|
||||
# Slightly heavier strokes render nicer on macOS Retina displays.
|
||||
font-thicken = true
|
||||
|
||||
# Victor Mono ships a gorgeous cursive italic — make sure it's used.
|
||||
font-style-italic = Italic
|
||||
|
||||
# --- Theme --------------------------------------------------------------
|
||||
# Australis (Aurora Australis) — a dark theme. Defined in
|
||||
# ~/.config/ghostty/themes/australis (ported from the upstream WezTerm config).
|
||||
theme = australis
|
||||
|
||||
# --- Cursor -------------------------------------------------------------
|
||||
cursor-style = block
|
||||
cursor-style-blink = false
|
||||
mouse-hide-while-typing = true
|
||||
|
||||
# --- Window -------------------------------------------------------------
|
||||
window-padding-x = 8
|
||||
window-padding-y = 6
|
||||
# Keep padding color matched to the background for a clean look.
|
||||
window-padding-balance = true
|
||||
# Reopen with the same windows/tabs you left.
|
||||
window-save-state = always
|
||||
macos-titlebar-style = tabs
|
||||
background-opacity = 0.97
|
||||
|
||||
# --- Clipboard / selection ---------------------------------------------
|
||||
copy-on-select = clipboard
|
||||
clipboard-trim-trailing-spaces = true
|
||||
|
||||
# --- macOS / shell behavior --------------------------------------------
|
||||
# Let the left Option key send Alt (so Alt+f, Alt+b, etc. work in shells/
|
||||
# editors); keep right Option for composing accented characters.
|
||||
macos-option-as-alt = left
|
||||
shell-integration = detect
|
||||
# ssh-env + ssh-terminfo: on connect, propagate a compatible TERM and
|
||||
# auto-install Ghostty's terminfo entry on the remote host (v1.2.0+), so
|
||||
# remote apps render correctly without "unknown terminal type" errors.
|
||||
shell-integration-features = cursor,sudo,title,ssh-env,ssh-terminfo
|
||||
|
||||
# --- Misc ---------------------------------------------------------------
|
||||
# Only prompt to close when a process is still running.
|
||||
confirm-close-surface = true
|
||||
scrollback-limit = 10000000
|
||||
|
||||
Reference in New Issue
Block a user