Skip to content

Instantly share code, notes, and snippets.

@Malaeu
Created March 5, 2026 22:22
Show Gist options
  • Select an option

  • Save Malaeu/6d9b6194eb470736165df9edd3cacb09 to your computer and use it in GitHub Desktop.

Select an option

Save Malaeu/6d9b6194eb470736165df9edd3cacb09 to your computer and use it in GitHub Desktop.
Ghostty Terminal Config — SAND keybindings + claude-code theme (dark, transparent, blur)
# Claude Code Theme for Ghostty
# Palette: matched to Codex CLI screenshot + r-coder.com base
# Claude Orange cursor preserved
background = #1e2233
foreground = #c8cdd8
cursor-color = #d77757
selection-background = #2563EB
selection-foreground = #ffffff
# Normal colors (0-7) — muted for backgrounds (diff, etc.)
palette = 0=#111827
palette = 1=#5c2b2b
palette = 2=#2d5a16
palette = 3=#b8860b
palette = 4=#60A5FA
palette = 5=#c084fc
palette = 6=#67C9FF
palette = 7=#c8cdd8
# Bright colors (8-15) — vivid for foreground text
palette = 8=#6B7280
palette = 9=#f87171
palette = 10=#4ade80
palette = 11=#facc15
palette = 12=#93C5FD
palette = 13=#BFDBFE
palette = 14=#67C9FF
palette = 15=#FFFFFF
# ============================================
# Ghostty Terminal - Complete Configuration
# ============================================
# File: ~/.config/ghostty/config
# Based on: davila7/SAND keybindings
# Reload: Cmd+Shift+, (macOS)
# View options: ghostty +show-config --default --docs
# --- Typography ---
font-family = JetBrainsMonoNerdFont
font-size = 16
font-thicken = true
adjust-cell-height = 2
# --- Theme and Colors ---
# Переключение: claude-code | Catppuccin Mocha | Catppuccin Latte
# Предыдущая: light:Catppuccin Latte,dark:Catppuccin Mocha
theme = claude-code
# --- Window and Appearance ---
background-opacity = 0.88
background-blur-radius = 15
macos-titlebar-style = transparent
window-padding-x = 10
window-padding-y = 8
window-save-state = always
window-theme = auto
unfocused-split-opacity = 0.55
# --- Cursor ---
cursor-style = bar
cursor-style-blink = true
cursor-opacity = 0.8
# --- Mouse ---
mouse-hide-while-typing = true
copy-on-select = clipboard
# --- Quick Terminal (Quake-style dropdown) ---
# Activate with Ctrl+` from anywhere
quick-terminal-position = top
quick-terminal-screen = mouse
quick-terminal-autohide = true
quick-terminal-animation-duration = 0.15
# --- Security ---
clipboard-paste-protection = true
clipboard-paste-bracketed-safe = true
# --- Shell Integration ---
shell-integration = detect
# --- Keybindings (SAND) ---
# S - Split: Create new panels
keybind = cmd+d=new_split:right
keybind = cmd+shift+d=new_split:down
# A - Across: Move between tabs
keybind = cmd+t=new_tab
keybind = cmd+shift+left=previous_tab
keybind = cmd+shift+right=next_tab
# N - Navigate: Jump between split panels
keybind = cmd+alt+left=goto_split:left
keybind = cmd+alt+right=goto_split:right
keybind = cmd+alt+up=goto_split:top
keybind = cmd+alt+down=goto_split:bottom
keybind = cmd+shift+e=equalize_splits
keybind = cmd+shift+f=toggle_split_zoom
# D - Destroy: Close panels and tabs
keybind = cmd+w=close_surface
# Font size (cmd+plus + cmd+equal для немецкой раскладки)
keybind = cmd+plus=increase_font_size:1
keybind = cmd+equal=increase_font_size:1
keybind = cmd+shift+equal=increase_font_size:1
keybind = cmd+minus=decrease_font_size:1
keybind = cmd+zero=reset_font_size
# Quick terminal global hotkey (Quake-style)
keybind = global:ctrl+grave_accent=toggle_quick_terminal
# Reload config
keybind = cmd+shift+comma=reload_config
# --- Performance ---
# 25MB scrollback for long Claude Code sessions
scrollback-limit = 25000000
# Fast scrolling — higher = more lines per swipe, less noticeable jumps
mouse-scroll-multiplier = 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment