Skip to content

Latest commit

ย 

History

History
54 lines (40 loc) ยท 1.85 KB

File metadata and controls

54 lines (40 loc) ยท 1.85 KB

๐Ÿ‘ป Ghostty Configuration

Terminal Demo

๐Ÿ“– Overview

A configuration for Ghostty, the high-performance, native-feeling terminal emulator. This setup focuses on aesthetic minimalism, speed, and leveraging Ghostty's unique features like shaders and rich styling.

โœจ Features

  • โšก Native Performance: Extremely low latency and resource usage.
  • ๐Ÿฆ„ Custom Shaders: Configured to use custom GLSL shaders (e.g., CRT effects) when I'm feeling nostalgic.
  • ๐ŸŽจ Dual Themes: Custom litepal/nitepal themes that sync with system appearance.
  • ๐Ÿ”ณ Window Management: Tiling-friendly window padding and decoration settings.
  • ๐Ÿ”ฎ Holographic Icons: Uses Ghostty's macOS-specific icon features.

๐Ÿ“‚ File Structure

Ghostty uses a flat configuration file structure, but I organize themes separately:

config/ghostty/
โ”œโ”€โ”€ config              # Main configuration file
โ””โ”€โ”€ themes/             # Custom theme definitions
    โ”œโ”€โ”€ litepa11y       # Light mode (Accessible)
    โ”œโ”€โ”€ litepal         # Light mode (Standard)
    โ”œโ”€โ”€ nitepa11y       # Dark mode (Accessible)
    โ””โ”€โ”€ nitepal         # Dark mode (Standard)

โŒจ๏ธ Keybindings

I've mapped Ghostty to behave similarly to my WezTerm/Tmux workflow using Ctrl + d as a prefix.

Keys Action
Ctrl+d c New Tab
Ctrl+d v Split Right
Ctrl+d s Split Down
Ctrl+d z Toggle Split Zoom
Ctrl+d h/l Previous/Next Tab
Ctrl+d x Close Surface
Alt + Arrows Jump between splits
Super + Enter Toggle Fullscreen

๐ŸŽจ Themes

The configuration is set to automatically switch between light and dark variants of my custom palettes:

theme = light:litepa11y,dark:nitepa11y