Skip to content

Instantly share code, notes, and snippets.

@mtskf
Last active January 11, 2026 06:54
Show Gist options
  • Select an option

  • Save mtskf/c95f7af6844168f15af9d981dbbe5c6f to your computer and use it in GitHub Desktop.

Select an option

Save mtskf/c95f7af6844168f15af9d981dbbe5c6f to your computer and use it in GitHub Desktop.
Ghostty config
# ==============================================================================
# Ghostty 設定ファイル
# Documentation: https://ghostty.org/docs/config
# Config generator: https://ghostty.zerebos.com/
# ==============================================================================
# ==============================================================================
# 🎨 テーマ・カラー
# ==============================================================================
# テーマ一覧: ghostty +list-themes
# theme = Argonaut
# theme = Synthwave
# theme = Nord
theme = TokyoNight
background = #090B11
# ==============================================================================
# 🔤 フォント
# ==============================================================================
# font-family = "BlexMono Nerd Font Mono"
font-size = 12
adjust-cell-height = 5%
bold-is-bright = true
# リガチャ(合字)を無効化
font-feature = -calt
font-feature = -liga
# ==============================================================================
# 🪟 ウィンドウ
# ==============================================================================
window-padding-x = 16
window-padding-y = 0
window-padding-balance = true
window-decoration = true
window-theme = dark
# 画面分割の区切り線
split-divider-color = #252a33
# ==============================================================================
# 🍎 macOS固有
# ==============================================================================
macos-titlebar-style = transparent
macos-window-shadow = true
# ==============================================================================
# ✏️ カーソル・表示
# ==============================================================================
cursor-style = block
cursor-invert-fg-bg = true
cursor-style-blink = false
mouse-hide-while-typing = true
unfocused-split-opacity = 0.75
resize-overlay = never
# ==============================================================================
# 🐚 シェル統合
# ==============================================================================
# 新規ウィンドウ/タブで作業ディレクトリを引き継ぐ
shell-integration = zsh
shell-integration-features = no-cursor,sudo,title
# ==============================================================================
# 📜 履歴・クリップボード
# ==============================================================================
scrollback-limit = 50000
copy-on-select = true
clipboard-read = allow
clipboard-write = allow
# コマンド完了時に通知
# desktop-notifications = true
# ==============================================================================
# ⌨️ キーバインド
# ==============================================================================
# --- 画面分割 ---
keybind = cmd+enter=new_split:down
keybind = cmd+shift+enter=new_split:right
keybind = cmd+w=close_surface
# --- 分割画面の移動 (Cmd + 矢印) ---
keybind = cmd+left=goto_split:left
keybind = cmd+right=goto_split:right
keybind = cmd+up=goto_split:top
keybind = cmd+down=goto_split:bottom
# --- 分割画面のリサイズ (Cmd + Shift + 矢印) ---
keybind = cmd+shift+left=resize_split:left,20
keybind = cmd+shift+right=resize_split:right,20
keybind = cmd+shift+up=resize_split:up,20
keybind = cmd+shift+down=resize_split:down,20
# --- タブ移動 (Cmd + Opt + 矢印) ---
keybind = cmd+alt+left=previous_tab
keybind = cmd+alt+right=next_tab
# --- その他 ---
keybind = cmd+k=clear_screen
keybind = shift+enter=text:\n
# --- クイックターミナル (グローバルホットキー) ---
keybind = global:cmd+grave_accent=toggle_quick_terminal
quick-terminal-position = right
quick-terminal-animation-duration = 0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment