Back to list
lbussell

ghostty-config

by lbussell

Agent skills

0🍴 0📅 Jan 23, 2026

SKILL.md


name: ghostty-config description: Edits Ghostty terminal configuration. Use when configuring fonts, colors, keybindings, or appearance in Ghostty.

Ghostty Configuration

Ghostty is a modern terminal emulator. Configuration lives in $HOME/.config/ghostty/config.

Config Syntax

# Key-value pairs separated by equals signs
font-family = Iosevka
font-size = 14

# Spacing around = doesn't matter
key=value
key = value

# Lines starting with # are comments
# Comments cannot be inline (would be part of value)
background = #282c34

# Empty value resets to default
key =

# Repeatable options (keybind, palette, font-family fallbacks)
keybind = ctrl+shift+c=copy_to_clipboard
keybind = ctrl+shift+v=paste_from_clipboard

Common Configuration Options

OptionDefaultDescription
font-family(system)Primary font, repeatable for fallbacks
font-size13Font size in points
theme(none)Color theme name
background#282c34Background color
foreground#ffffffForeground color
background-opacity1Window transparency (0-1)
cursor-styleblockblock, bar, underline
scrollback-limit10000000Scrollback buffer lines
window-padding-x(none)Horizontal padding in pixels
window-padding-y(none)Vertical padding in pixels
keybind(defaults)Custom keybinding (repeatable)

macOS-Specific Options

OptionDefaultDescription
macos-option-as-alt(none)Use Option as Alt: left, right, true
macos-titlebar-styletransparenttransparent, native, tabs
macos-non-native-fullscreenfalseUse non-native fullscreen

Linux-Specific Options

OptionDefaultDescription
gtk-titlebartrueShow GTK titlebar
gtk-tabs-locationtopTab bar location

Keybindings

Format: keybind = <trigger>=<action>

Triggers

  • Modifiers: ctrl, alt, shift, super (Cmd on macOS)
  • Combine with +: ctrl+shift+c
  • Key names: a-z, 0-9, enter, tab, escape, space, up, down, left, right

Common Actions

  • copy_to_clipboard / paste_from_clipboard
  • new_tab / close_surface
  • new_split:right / new_split:down
  • goto_split:left / goto_split:right / goto_split:up / goto_split:down
  • increase_font_size:1 / decrease_font_size:1 / reset_font_size
  • scroll_page_up / scroll_page_down
  • text:\x1b[A (send raw escape sequence)

Unbind a Default

keybind = ctrl+shift+c=unbind

Getting Full Documentation

# List all options with defaults and docs
ghostty +show-config --default --docs

# List available fonts
ghostty +list-fonts

Workflow

  • Create/open $HOME/.config/ghostty/config
  • Add or modify configuration options
  • Reload config: Cmd+Shift+, (macOS) or Ctrl+Shift+, (Linux)

Example Config

# Font
font-family = JetBrains Mono
font-size = 14

# Appearance
theme = Catppuccin Mocha
background-opacity = 0.95
cursor-style = bar

# Window
window-padding-x = 8
window-padding-y = 8

# macOS
macos-option-as-alt = true
macos-titlebar-style = tabs

# Keybindings
keybind = super+t=new_tab
keybind = super+shift+enter=new_split:right
keybind = super+alt+left=goto_split:left
keybind = super+alt+right=goto_split:right

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon