-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathalacritty.yml
202 lines (195 loc) · 7.33 KB
/
alacritty.yml
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
# Find the documentation in ./alacritty-example.yml
window:
decorations: none
opacity: 1
option_as_alt: OnlyRight
font:
normal:
family: SauceCodePro Nerd Font
style: Medium
bold:
family: SauceCodePro Nerd Font
style: Bold
italic:
family: SauceCodePro Nerd Font
style: Medium Italic
bold_italic:
family: SauceCodePro Nerd Font
style: Bold Italic
size: 14.5
colors:
primary:
background: '#1f1f1f'
foreground: '#cccccc'
cursor: # Stolen from wezterm
text: '#000000'
cursor: '#52ad70'
vi_mode_cursor:
text: CellBackground
cursor: CellForeground
search:
matches:
foreground: CellForeground
background: '#623315'
focused_match:
foreground: CellForeground
background: '#9e6a03'
footer_bar:
background: '#68217a'
foreground: '#ffffff'
selection:
text: CellForeground
background: '#264f78'
normal:
black: '#1f1f1f'
red: '#f44747'
green: '#6a9955'
yellow: '#d7ba7d'
blue: '#569cd6'
magenta: '#c586c0'
cyan: '#4dc9d0'
white: '#dddddd'
bright:
black: '#808080'
red: '#f55757'
green: '#80ad6b'
yellow: '#e1cb9e'
blue: '#6fabdc'
magenta: '#d6a9d2'
cyan: '#70d3bf'
white: '#ffffff'
cursor:
vi_mode_style: Block
live_config_reload: true
hints:
alphabet: "jfkdls;ahgurieowpq"
enabled:
- regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
hyperlinks: true
command: open
post_processing: true
mouse:
enabled: true
mods: None
binding:
key: U
mods: Control|Shift
key_bindings:
# Scroll
- { key: B, mods: Control|Shift, action: ScrollPageUp }
- { key: F, mods: Control|Shift, action: ScrollPageDown }
- { key: Left, mods: Control|Shift, action: ScrollToTop }
- { key: Right, mods: Control|Shift, action: ScrollToBottom }
# Vi Mode
# Ctrl+Shift+v: toggle vi mode
# i: quit vi mode
# g: scroll to top
# G: scroll to bottom
# y/Cmd+c: copy and clear selection
# ESC: clear selection
# Ctrl+y/e: scroll line up/down
# Ctrl+b/f: scroll page up/down
# Ctrl+u/d: scroll half page up/down
# v: selection
# V: line selection
# Ctrl+v: block selection
# Alt+v: semantic selection
# k/j/h/l: move cursor
# 0/$: go to the first/last column
# ^: go to the first non-empty column
# enter: open
# z: center
# H/M/L: go to the top/middle/bottom line
# b/w/e: word jump
# B/W/E: WORD jump
# %: go the matched bracket
# /: search forward
# ?: search backward
# n/N: search next/previous
- { key: V, mods: Control|Shift, action: ToggleViMode }
- { key: I, mode: Vi|~Search, action: ScrollToBottom }
- { key: I, mode: Vi|~Search, action: ToggleViMode }
- { key: G, mode: Vi|~Search, action: ScrollToTop }
- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom }
- { key: Y, mode: Vi|~Search, action: Copy }
- { key: Y, mode: Vi|~Search, action: ClearSelection }
- { key: Escape, mode: Vi|~Search, action: ClearSelection }
- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }
- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp }
- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown }
- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
- { key: V, mode: Vi|~Search, action: ToggleNormalSelection }
- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection }
- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
- { key: K, mode: Vi|~Search, action: Up }
- { key: J, mode: Vi|~Search, action: Down }
- { key: H, mode: Vi|~Search, action: Left }
- { key: L, mode: Vi|~Search, action: Right }
- { key: Key0, mode: Vi|~Search, action: First }
- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last }
- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied }
- { key: Return, mode: Vi|~Search, action: Open }
- { key: Z, mode: Vi|~Search, action: CenterAroundViCursor }
- { key: H, mods: Shift, mode: Vi|~Search, action: High }
- { key: M, mods: Shift, mode: Vi|~Search, action: Middle }
- { key: L, mods: Shift, mode: Vi|~Search, action: Low }
- { key: B, mode: Vi|~Search, action: SemanticLeft }
- { key: W, mode: Vi|~Search, action: SemanticRight }
- { key: E, mode: Vi|~Search, action: SemanticRightEnd }
- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft }
- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight }
- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket }
- { key: Slash, mode: Vi|~Search, action: SearchForward }
- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward }
- { key: N, mode: Vi|~Search, action: SearchNext }
- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious }
# Search Mode
# Ctrl+u: clear the whole query
# Ctrl+w: delete the current word in the query
# Ctrl+n/p: next/previous query
# Enter/Shift+Enter: go to the next/previous match
- { key: Return, mode: Search|Vi, action: SearchConfirm }
- { key: Escape, mode: Search, action: SearchCancel }
- { key: U, mods: Control, mode: Search, action: SearchClear }
- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious }
- { key: N, mods: Control, mode: Search, action: SearchHistoryNext }
- { key: Return, mode: Search|~Vi, action: SearchFocusNext }
- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious }
# General (macOS)
- { key: Key0, mods: Command, action: ResetFontSize }
- { key: Equals, mods: Command, action: IncreaseFontSize }
- { key: Minus, mods: Command, action: DecreaseFontSize }
- { key: V, mods: Command, action: Paste }
- { key: C, mods: Command, action: Copy }
- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection }
- { key: H, mods: Command, action: Hide }
- { key: M, mods: Command, action: Minimize }
- { key: Q, mods: Command, action: Quit }
- { key: W, mods: Command, action: Quit }
- { key: N, mods: Command, action: CreateNewWindow }
- { key: F, mods: Command, mode: ~Search, action: SearchForward }
- { key: B, mods: Command, mode: ~Search, action: SearchBackward }
# Special (escape code)
# Ctrl+Enter
# Shift+Enter
# Ctrl+0...9
# Ctrl+/
- { key: Return, mods: Control, chars: "\x1b[13;5u" }
- { key: Return, mods: Shift, chars: "\x1b[13;2u" }
- { key: Key1, mods: Control, chars: "\x1b[27;5;49~" }
- { key: Key2, mods: Control, chars: "\x1b[27;5;50~" }
- { key: Key3, mods: Control, chars: "\x1b[27;5;51~" }
- { key: Key4, mods: Control, chars: "\x1b[27;5;52~" }
- { key: Key5, mods: Control, chars: "\x1b[27;5;53~" }
- { key: Key6, mods: Control, chars: "\x1b[27;5;54~" }
- { key: Key7, mods: Control, chars: "\x1b[27;5;55~" }
- { key: Key8, mods: Control, chars: "\x1b[27;5;56~" }
- { key: Key9, mods: Control, chars: "\x1b[27;5;57~" }
- { key: Key0, mods: Control, chars: "\x1b[27;5;58~" }
- { key: Slash, mods: Control, chars: "\x1f" }