all repos — dot @ master

Shell, editor and terminal configuration, and the tools that go with them

config/ghostty/ghostty-local-example (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
# Example ~/.config/ghostty-local: Ghostty for one machine only.
#
# Not linked and never synced -- write it by hand where it is wanted. It cannot
# sit beside this file: link.sh links this whole directory, so ~/.config/ghostty
# is the checkout itself. config/ghostty/config reads it last, as an optional
# `config-file`, so a machine without one is not an error.
#
# Read last means: a single-value key here replaces the one set there, the
# theme's colours included; `keybind` accumulates instead, so a binding here is
# added to those. Reload with cmd-shift-, or restart Ghostty.

# Single-value keys replace.
font-size = 14
background-opacity = 0.95

# Start a plain shell instead of the tmux session config/ghostty/config asks
# for. --login runs ~/.zprofile, which is what restores PATH order after macOS
# rebuilds it; -i runs ~/.zshrc, for the prompt, keybindings and completions.
command = /bin/zsh --login -i

# keybind accumulates, so this is added to the ones already set.
keybind = super+shift+n=new_window

# To switch one off rather than add: bind it to `ignore`.
keybind = alt+enter=ignore