Skip to content

Instantly share code, notes, and snippets.

@jftuga
Last active December 25, 2025 13:35
Show Gist options
  • Select an option

  • Save jftuga/e6a1170075815a762cb10705a8a3035a to your computer and use it in GitHub Desktop.

Select an option

Save jftuga/e6a1170075815a762cb10705a8a3035a to your computer and use it in GitHub Desktop.
ghostty config for MacOS
background = #000000
clipboard-trim-trailing-spaces = true
clipboard-paste-protection = false
copy-on-select = clipboard
cursor-click-to-move = true
cursor-style = block
cursor-style-blink = false
font-family = "SF Mono"
font-size = 18
font-thicken = true
foreground = #ffffff
keybind = shift+enter=text:\x1b\r
macos-option-as-alt = false
macos-titlebar-style = tabs
mouse-hide-while-typing = true
selection-background = #3d5c7c
selection-foreground = #ffffff
shell-integration-features = ssh-env,no-cursor,title
window-height = 30
window-padding-balance = true
window-padding-x = 4
window-padding-y = 4
window-position-x = 80
window-position-y = 20
window-width = 100
# This is the configuration file for Ghostty.
#
# This template file has been automatically created at the following
# path since Ghostty couldn't find any existing config files on your system:
#
# /Users/john/Library/Application Support/com.mitchellh.ghostty/config
#
# The template does not set any default options, since Ghostty ships
# with sensible defaults for all options. Users should only need to set
# options that they want to change from the default.
#
# Run `ghostty +show-config --default --docs` to view a list of
# all available config options and their default values.
#
# Additionally, each config option is also explained in detail
# on Ghostty's website, at https://ghostty.org/docs/config.
#
# Ghostty can reload the configuration while running by using the menu
# options or the bound key (default: Command + Shift + comma on macOS and
# Control + Shift + comma on other platforms). Not all config options can be
# reloaded while running; some only apply to new windows and others may require
# a full restart to take effect.
# Config syntax crash course
# ==========================
# # The config file consists of simple key-value pairs,
# # separated by equals signs.
# font-family = Iosevka
# window-padding-x = 2
#
# # Spacing around the equals sign does not matter.
# # All of these are identical:
# key=value
# key= value
# key =value
# key = value
#
# # Any line beginning with a # is a comment. It's not possible to put
# # a comment after a config option, since it would be interpreted as a
# # part of the value. For example, this will have a value of "#123abc":
# background = #123abc
#
# # Empty values are used to reset config keys to default.
# key =
#
# # Some config options have unique syntaxes for their value,
# # which is explained in the docs for that config option.
# # Just for example:
# resize-overlay-duration = 4s 200ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment