-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathghostty-config
More file actions
59 lines (49 loc) · 1.69 KB
/
Copy pathghostty-config
File metadata and controls
59 lines (49 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# ========= Fonts =========
# Primary font with ligatures
font-family = "Fira Code"
# Fallback for icons/symbols only (doesn't affect ligatures)
font-family = "Symbols Nerd Font Mono"
# Base size (won't inherit zoom from other windows)
font-size = 16
font-feature = +calt,+liga,+clig,+dlig
# ========= Layout / Density =========
window-inherit-font-size = false
window-padding-x = 8
window-padding-y = 8
# Slightly tighter lines without hurting readability
adjust-cell-height = -5%
# Resize windows in cell-size steps (keeps the grid aligned)
window-step-resize = true
# ========= Cursor =========
cursor-style = bar
cursor-style-blink = true
# ========= Appearance =========
background-opacity = 0.80
background-blur = 60
theme = Monokai Pro
# ========= Clipboard & Mouse =========
# Copy to the system clipboard on selection
copy-on-select = clipboard
# Keep native selection even when a TUI tries to capture the mouse with Shift
mouse-shift-capture = never
# ========= macOS =========
# Treat Option (left) as Alt/Meta for TUI shortcuts
macos-option-as-alt = left
# ========= Compatibility (SSH without Ghostty terminfo) =========
# Comment out if you prefer Ghostty's default TERM
term = xterm-256color
# ========= Keybindings =========
# Navigate splits
keybind = cmd+shift+left=goto_split:left
keybind = cmd+shift+right=goto_split:right
keybind = cmd+shift+up=goto_split:up
keybind = cmd+shift+down=goto_split:down
# Tabs / close split
keybind = cmd+t=new_tab
keybind = cmd+w=close_surface
# Quick zoom controls
keybind = cmd+minus=decrease_font_size:1
keybind = cmd+shift+equal=increase_font_size:1
keybind = cmd+0=reset_font_size
# (macOS) Quake-style quick terminal
keybind = global:cmd+`=toggle_quick_terminal