コンテンツにスキップ

Ghostty

Ghostty は GPU accelerated な高速 terminal emulator。背景透過、blur、ligature 対応のフォント設定、quick terminal など。

項目
FontJetBrainsMono Nerd Font (15pt)
Background opacity0.6
Blur radius30
Cursorblock, blink
Window themedark
Color spaceDisplay P3
Titlebarhidden (macOS)
Window shadow有効

code の見た目を良くするために ligature を有効化している。

font-feature = +liga
font-feature = +calt
font-feature = +ss01 ~ +ss05

行間と underline の位置を微調整して可読性を上げている。

font-thicken = true
adjust-cell-height = 20%
adjust-underline-position = 10%

Cmd+Shift+Space で画面上部から dropdown terminal を呼び出せる。autohide 付き。

quick-terminal-position = top
quick-terminal-animation-duration = 200ms
quick-terminal-autohide = true

Fish shell との integration が有効。cursor, title, sudo の feature を使う。

shell-integration = fish
shell-integration-features = cursor,title,sudo
Key操作
Cmd+T新規 tab
Cmd+Shift+T新規 window
Cmd+Wtab を閉じる
Cmd+1-9tab 1-9 に切替
Cmd+Tab / Cmd+Shift+Tab次/前の tab
Key操作
Cmd+D右に split
Cmd+Shift+D下に split
Cmd+Shift+矢印split 間の移動
Cmd+Alt+矢印split の resize
Cmd+Shift+Entersplit zoom toggle
Key操作
Cmd+Left/Right前/次の tab
Cmd+Up/Downpage scroll
Shift+PageUp/Downpage scroll
Cmd+Home/Endscroll to top/bottom
Key操作
Cmd+K画面 clear
Cmd+Enterfullscreen toggle
Cmd+Plus/Minus/0font size 変更/reset
Cmd+Shift+,config reload
Shift+Enternewline (Claude Code 対応)

Ghostty の Alt+Left/Right を unbind して、Zellij の keybinding と衝突しないようにしている。

keybind = alt+left=unbind
keybind = alt+right=unbind

theme-switch で切り替えると、~/.config/ghostty/theme ファイルが更新される。

項目
Scrollback50,000 行
Mouse scroll multiplier3x
Clipboard read/write許可
Mouse hide while typing有効
Image storage320MB
Window save statealways