Przejdź do treści
Biblioteka skilli
Programowanie · Integracja z narzędziem

ghostty-config

/ghostty-config

Pomaga konfigurować emulator terminala Ghostty, pracować z jego plikami konfiguracyjnymi i sprawdzać dostępne ustawienia oraz opcje.

Repozytorium
dotfiles ↗
Licencja
MIT
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pomaga konfigurować emulator terminala Ghostty, pracować z jego plikami konfiguracyjnymi i sprawdzać dostępne ustawienia oraz opcje.

Oryginalny opis (EN)

Use when configuring Ghostty terminal emulator, working with ghostty config files, or looking up Ghostty settings and options.

Jak działa

  1. When to Use This Skill
  2. Quick Reference
  3. Searching Documentation
  4. Validation
  5. Common Configuration Categories
  6. Example: Adding a Font
  7. Example: Custom Keybindings
  8. Example: Configuring Bell
  9. Configuration Format
  10. Tips
Sekcje z nagłówków SKILL.md, w oryginale · 275 linii, 844 słów
Podgląd SKILL.md
---
name: ghostty-config
description: Use when configuring Ghostty terminal emulator, working with ghostty config files, or looking up Ghostty settings and options.
---

# Ghostty Terminal Configuration

Guide for configuring Ghostty terminal emulator with local documentation access.

## When to Use This Skill

Use this skill when:

- Working with Ghostty configuration files
- Looking up valid configuration options
- Troubleshooting Ghostty settings
- Finding available fonts or themes
- Understanding Ghostty-specific features

## Quick Reference

### Access Local Documentation

Ghostty includes comprehensive built-in documentation:

**Full configuration reference with inline docs:**

```bash
ghostty +show-config --default --docs
```

**List available fonts:**

```bash
ghostty +list-fonts
```

**Search for specific config options:**

```bash
ghostty +show-config --default --docs | grep -A 10 "keyword"
```

### Configuration File Location

In this dotfiles repository, Ghostty config is managed at:

- Source: `config/ghostty/config`
- Installed: `~/.config/ghostty/config`

### Common Configuration Patterns

**Font configuration:**

```bash
# List available fonts first
ghostty +list-fonts

# Then configure in config file
font-family = Maple Mono NF
font-size = 14
```

**Theme/Colors:**

```bash
# Search for color-related options
ghostty +show-config --default --docs | grep -i "color"
```

**Key bindings:**

```bash
# Search for keybind options
ghostty +show-config --default --docs | grep -i "keybind"
```

## Searching Documentation

**Find specific option documentation:**

```bash
# Example: Find all font-related options
ghostty +show-config --default --docs | grep -B 2 -A 20 "^font-"
```

**Search by keyword:**

```bash
# Example: Find clipboard options
ghostty +show-config --default --docs | grep -i "clipboard" -A 10
```

**List all available options:**

```bash
# Get just the config keys without docs
ghostty +show-config --default | grep "^[a-z]" | cut -d= -f1
```

## Validation

**Test configuration syntax:**

```bash
# Ghostty will report errors on startup
ghostty --config-file=path/to/config
```

**View current configuration:**

```bash
# Shows active config (after applying defaults + user config)
ghostty +show-config
```

## Common Configuration Categories

Key categories (use documentation search for complete details):

- **Font:** `font-family`, `font-size`, `font-style`, `font-feature`
- **Colors:** `background`, `foreground`, `palette`, `theme`
- **Window:** `window-padding-x/y`, `window-theme`, `window-decoration`
- **Shell:** `shell-integration-features`, `command`, `working-directory`
- **Keybinds:** `keybind = trigger=action[:parameter]`
- **Bell:** `bell-features`, `bell-audio-path`, `bell-audio-volume`
- **Performance:** `renderer`, `vsync`
- **macOS:** `macos-titlebar-style`, `macos-option-as-alt`

## Example: Adding a Font

1. **List available fonts:**

   ```bash
   ghostty +list-fonts | grep -i "JetBrains"
   ```

2. **Check font configuration docs:**

   ```bash
   ghostty +show-config --default --docs | grep -A 40 "^font-family"
   ```

3. **Add to config:**

   ```
   font-family = JetBrains Mono
   font-family = Apple Color Emoji  # Fallback for emoji
   font-size = 14
   ```

4. **Reload config** (Ghostty auto-reloads, or use `ctrl+c>r` keybind if configured)

## Example: Custom Keybindings

1. **Find keybind documentation:**

   ```bash
   ghostty +show-config --default --docs | grep -B 10 -A 30 "^keybind ="
   ```

2. **Keybind syntax:**

   ```
   keybind = [prefix:]trigger=action[:parameter]
   ```

3. **Add custom bindings:**
   ```
   keybind = ctrl+shift+c=copy_to_clipboard
   keybind = ctrl+shift+v=paste_from_clipboard
   keybind = ctrl+c>v=new_split:right
   ```

## Example: Configuring Bell

1. **Search bell documentation:**

   ```bash
   ghostty +show-config --default --docs | grep -A 50 "^# Bell features"
   ```

2. **Available bell features:**
   - `system` - System notification (GTK only)
   - `audio` - Custom sound (GTK only)
   - `attention` - Bounce dock icon on macOS (default: enabled)
   - `title` - Add 🔔 emoji to title (default: enabled)
   - `border` - Display border (GTK only)

3. **Configure bell:**
   ```
   # Only show title emoji, no dock bounce
   bell-features = no-attention,title
   ```

## Configuration Format

**Basic syntax:**

```
# Comments start with hash
key = value

# Boolean values
some-feature = true
other-feature = false

# Multiple values - repeat the key
font-family = JetBrains Mono
font-family = Apple Color Emoji

# Empty value = use default
font-family =
```

**No quotes needed** for most values (unlike TOML/YAML):

```
# Correct
font-family = JetBrains Mono

# Also works, but unnecessary
font-family = "JetBrains Mono"
```

**Keybind prefixes:**

- `global:` - System-wide (requires accessibility permissions)
- `all:` - Apply to all surfaces
- `unconsumed:` - Pass to program if not consumed
- `performable:` - Only if action can be performed

## Tips

- Ghostty automatically reloads configuration on file changes
- Use `ghostty +show-config` to verify active settings
- All documentation is built-in - no internet required
- Config format is custom (not TOML/YAML/INI)
- Comments start with `#`
- Boolean values: `true` or `false`
- Multiple values: repeat the key multiple times
- Empty value (`key =`) means "use default"

## Troubleshooting

**Config not loading:**

- Check file location: `~/.config/ghostty/config`
- Verify syntax: generally no quotes needed
- Check Ghostty logs for errors
- Unknown fields are silently ignored

**Font not found:**

- Use `ghostty +list-fonts` to find exact font name
- Names are case-sensitive
- Some fonts require full family name (e.g., "Maple Mono NF" not "Maple Mono")

**Colors not working:**

- Verify hex format: `#RRGGBB` or `#RRGGBBAA`
- Check terminal theme compatibility
- Use `ghostty +show-config` to see active values

**Keybindings not working:**

- Check for conflicts with system/other apps
- Verify action name is correct (use docs to find valid actions)
- Some actions are platform-specific (GTK only, macOS only)
- Global keybinds require accessibility permissions

## Additional Resources

- Built-in docs: `ghostty +show-config --default --docs`
- Man pages: `man ghostty`
- This repo's config: `config/ghostty/config`
- List fonts: `ghostty +list-fonts`
- Show active config: `ghostty +show-config`

Wersje

RepozytoriumWynikLicencja
Ta strona · edmundmiller/dotfiles100MIT
sammcj/agentic-coding100Apache-2.0

Migawka bazy z 28.10.2026 · wersja paczki fe1b2d5876f6 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95ghostty
    Steruje emulatorem terminala Ghostty z linii poleceń: okna, karty, podziały, fonty i konfiguracja.
  • 95cmux-ghostty
    Pilnuje zasad pracy z submodułem ghostty i GhosttyKit w cmux: przebudowa xcframework, wskaźnik submodułu i konflikty forka.
  • 100ops-resume
    Prawdopodobnie wznawia wcześniejsze sesje i ponownie otwiera okna terminala Ghostty.
  • 100worktree-guide
    Prowadzi przez równoległą pracę z Ghostty, git worktree i Lazygit, przy konfiguracji przepływów wielozadaniowych i nauce systemu worktree.
  • 100ghostty-use
    Zapisuje, przywraca i uzgadnia sesje Claude Code i Codex w kartach Ghostty po restarcie komputera, w tym okresowe migawki zmian i audyt tego, które sesje przetrwały.
  • 100herdr
    Obsługuje i koordynuje agentów AI w przestrzeniach roboczych Herdr w Ghostty: sprawdza ich stan, wysyła wiadomości i czeka na wyniki.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.