-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathghostty.config
More file actions
152 lines (107 loc) · 3.52 KB
/
ghostty.config
File metadata and controls
152 lines (107 loc) · 3.52 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# ========================================
# GENERAL CONFIGURATION
# ========================================
# The configuration can be reloaded at runtime by cmd+shift+, (macOS)
theme = light:Gruvbox Light Hard,dark:Gruvbox Dark Hard
# ========================================
# FONT SETTINGS
# ========================================
# Main font family
font-family = "TX-02"
# Font size in points
font-size = 13
# ========================================
# CURSOR SETTINGS
# ========================================
# Disable cursor blinking
cursor-style-blink = false
# macOS Option key as Meta
macos-option-as-alt = true
# Block cursor style
cursor-style = block
# Make cursor thicker (300% of normal)
adjust-cursor-thickness = 300%
# ========================================
# MOUSE BEHAVIOR
# ========================================
# Hide mouse cursor while typing
mouse-hide-while-typing = true
# Confirm close surface
confirm-close-surface = true
confirm-close-surface = always
# ========================================
# WINDOW BEHAVIOR
# ========================================
# Don't ask for confirmation when closing
confirm-close-surface = false
# Follow system theme for window decorations
window-theme = system
# Don't show overlay when resizing windows
resize-overlay = never
# Always save window state when quitting
window-save-state = always
# Inherit working directory from parent when creating new windows
window-inherit-working-directory = true
# ========================================
# SHELL INTEGRATION
# ========================================
# Enable fish shell integration
shell-integration = fish
# ========================================
# SPLIT APPEARANCE
# ========================================
# Opacity level for unfocused splits (0.0-1.0)
unfocused-split-opacity = 0.80
# Background fill color for unfocused splits
unfocused-split-fill = #a33503
# Color of the divider between splits
split-divider-color = #FF4F00
# ========================================
# SPLIT MANAGEMENT KEYBINDINGS
# ========================================
# Create new split rightward
keybind = super+d=new_split:right
# Create new split downward
keybind = super+shift+d=new_split:down
# Navigate to left split
keybind = super+h=goto_split:left
# Navigate to bottom split
keybind = super+j=goto_split:down
# Navigate to top split
keybind = super+k=goto_split:up
# Navigate to right split
keybind = super+l=goto_split:right
# Close current split
keybind = super+w=close_surface
# Equalize all splits in current window
keybind = super+shift+equal=equalize_splits
# ========================================
# TAB MANAGEMENT KEYBINDINGS
# ========================================
# Create new tab
keybind = super+t=new_tab
# Go to specific tabs (1-9)
keybind = super+digit1=goto_tab:1
keybind = super+digit2=goto_tab:2
keybind = super+digit3=goto_tab:3
keybind = super+digit4=goto_tab:4
keybind = super+digit5=goto_tab:5
keybind = super+digit6=goto_tab:6
keybind = super+digit7=goto_tab:7
keybind = super+digit8=goto_tab:8
keybind = super+digit9=goto_tab:9
# ========================================
# TERMINAL CONTROL KEYBINDINGS
# ========================================
# Clear screen
keybind = super+shift+k=clear_screen
# Delete word to the left of cursor
keybind = cmd+backspace=esc:w
# Search
keybind = super+f=text:\x06\x66
# ========================================
# SPECIAL KEYBINDINGS
# ========================================
# Claude Code shift+enter support
# keybind = shift+enter=text:\n
# confirm-close-surface = always