-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalacritty.toml
More file actions
188 lines (143 loc) · 4.81 KB
/
alacritty.toml
File metadata and controls
188 lines (143 loc) · 4.81 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# Alacritty Configuration
# ~/.config/alacritty/alacritty.toml
[window]
# Window dimensions (changes require restart)
dimensions = { columns = 120, lines = 30 }
# Window position (changes require restart)
# position = { x = 0, y = 0 }
# Window padding (changes require restart)
padding = { x = 6, y = 6 }
# Allow terminal applications to change Alacritty's window title
dynamic_title = true
# Window opacity as a floating point number from 0.0 to 1.0
opacity = 0.95
# Window decorations
decorations = "full"
# Startup mode (changes require restart)
startup_mode = "Windowed"
[scrolling]
# Maximum number of lines in the scrollback buffer
history = 10000
# Scrolling distance multiplier
multiplier = 3
[font]
# Normal font face
normal = { family = "FiraCode Nerd Font", style = "Regular" }
# Bold font face
bold = { family = "FiraCode Nerd Font", style = "Bold" }
# Italic font face
italic = { family = "FiraCode Nerd Font", style = "Italic" }
# Bold italic font face
bold_italic = { family = "FiraCode Nerd Font", style = "Bold Italic" }
# Font size
size = 12.0
# Offset is the extra space around each character
offset = { x = 0, y = 0 }
# Glyph offset determines the locations of the glyphs within their cells
glyph_offset = { x = 0, y = 0 }
# Use built-in font for box drawing characters
builtin_box_drawing = true
[colors]
# Default colors
[colors.primary]
background = "#1e1e1e"
foreground = "#d4d4d4"
# Cursor colors
[colors.cursor]
text = "#1e1e1e"
cursor = "#d4d4d4"
# Selection colors
[colors.selection]
text = "#1e1e1e"
background = "#d4d4d4"
# Normal colors
[colors.normal]
black = "#1e1e1e"
red = "#f44747"
green = "#608b4e"
yellow = "#dcdcaa"
blue = "#569cd6"
magenta = "#c586c0"
cyan = "#4ec9b0"
white = "#d4d4d4"
# Bright colors
[colors.bright]
black = "#808080"
red = "#f44747"
green = "#608b4e"
yellow = "#dcdcaa"
blue = "#569cd6"
magenta = "#c586c0"
cyan = "#4ec9b0"
white = "#ffffff"
[bell]
# Visual Bell Animation
animation = "EaseOutExpo"
duration = 0
color = "#ffffff"
[selection]
# This string contains all characters that are used as separators for "semantic words" in Alacritty
semantic_escape_chars = ",│`|:\"' ()[]{}<>\\t"
# When set to true, selected text will be copied to the primary clipboard
save_to_clipboard = true
[cursor]
# Cursor style
style = { shape = "Block", blinking = "Off" }
# Vi mode cursor style
vi_mode_style = { shape = "Block", blinking = "Off" }
# Cursor blinking interval in milliseconds
blink_interval = 750
# Time after which cursor stops blinking, in seconds
blink_timeout = 5
# If this is true, the cursor will be rendered as a hollow box when the window is not focused
unfocused_hollow = true
# Thickness of the cursor relative to the cell width as floating point number from 0.0 to 1.0
thickness = 0.15
[terminal]
# Controls the OSC 52 behavior for clipboard interactions
osc52 = "CopyPaste"
[mouse]
# If this is true, the cursor is temporarily hidden when typing
hide_when_typing = true
# Mouse bindings
[[mouse.bindings]]
mouse = "Middle"
action = "PasteSelection"
[hints]
# Terminal hints can be used to find text in the visible part of the terminal and pipe it to other applications
enabled = [
{ regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\\u0000-\\u001F\\u007F-\\u009F<>\"\\s{-}\\^⟨⟩`]+", command = "xdg-open", post_processing = true, mouse = { enabled = true, mods = "None" }, binding = { key = "U", mods = "Control|Shift" } }
]
[keyboard]
# Key bindings
bindings = [
# Copy and paste
{ key = "V", mods = "Control|Shift", action = "Paste" },
{ key = "C", mods = "Control|Shift", action = "Copy" },
{ key = "Insert", mods = "Shift", action = "PasteSelection" },
# Search
{ key = "F", mods = "Control|Shift", action = "SearchForward" },
{ key = "B", mods = "Control|Shift", action = "SearchBackward" },
# Font size
{ key = "Plus", mods = "Control", action = "IncreaseFontSize" },
{ key = "Minus", mods = "Control", action = "DecreaseFontSize" },
{ key = "Key0", mods = "Control", action = "ResetFontSize" },
# Vi mode
{ key = "Space", mods = "Shift|Control", mode = "~Search", action = "ToggleViMode" },
# Scrolling
{ key = "PageUp", mods = "Shift", mode = "~Alt", action = "ScrollPageUp" },
{ key = "PageDown", mods = "Shift", mode = "~Alt", action = "ScrollPageDown" },
{ key = "Home", mods = "Shift", mode = "~Alt", action = "ScrollToTop" },
{ key = "End", mods = "Shift", mode = "~Alt", action = "ScrollToBottom" },
# New window/tab
{ key = "Return", mods = "Super|Shift", action = "SpawnNewInstance" },
]
[debug]
# Display the time it takes to redraw each frame
render_timer = false
# Keep the log file after quitting Alacritty
persistent_logging = false
# Log level
log_level = "Warn"
# Print all received window events
print_events = false