-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalacritty.yml
208 lines (191 loc) · 7.54 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
203
204
205
206
207
208
save_to_clipboard: true # Всё, что выделяется мышью сразу идёт в буфер обмена
# Настройки окна
window:
padding:
x: 0
y: 0
dynamic_padding: false
decorations: full
#Режим полного экрана
startup_mode: Windowed
scrolling:
history: 10000
multiplier: 3
faux_multiplier: 3
auto_scroll: true
#scrolling:
##Истрория (прокрутка)
#history: 0
#multiplier: 10
font:
#Настройка шрифтов
normal:
family: "JetBrains Mono"
bold:
family: "JetBrains Mono"
italic:
family: "Fira Code"
size: 9
# Размер шрифта
#Отступы у шрифта
offset:
x: 0
y: 0
glyph_offset:
x: 0
y: 0
# Печатать жирный текст яркими шрифтами
draw_bold_text_with_bright_colors: true
hide_when_typing: true
# Темы были взяты отсюда https://github.com/eendroroy/alacritty-theme
# Colors
# Colors (iTerm 2 default theme)
#colors:
# Default colors
# primary:
# background: '0x101421'
# foreground: '0xfffbf6'
#
# Normal colors
# normal:
#black: '0x2e2e2e'
#red: '0xeb4129'
#green: '0xabe047'
#yellow: '0xf6c744'
#blue: '0x47a0f3'
#magenta: '0x7b5cb0'
#cyan: '0x64dbed'
#white: '0xe5e9f0'
#
# Bright colors
#bright:
#black: '0x565656'
#red: '0xec5357'
#green: '0xc0e17d'
#yellow: '0xf9da6a'
#blue: '0x49a4f8'
#magenta: '0xa47de9'
#cyan: '0x99faf2'
#white: '0xffffff'
## Colors (Base16 Default Dark)
#colors:
## Default colors
#primary:
#background: '0x181818'
#foreground: '0xd8d8d8'
## Colors the cursor will use if `custom_cursor_colors` is true
#cursor:
#text: '0xd8d8d8'
#cursor: '0xd8d8d8'
## Normal colors
#normal:
#black: '0x2d3436'
#red: '0xab4642'
#green: '0xa1b56c'
#yellow: '0xf7ca88'
#blue: '0x7cafc2'
#magenta: '0xba8baf'
#cyan: '0x86c1b9'
#white: '0xd8d8d8'
## Bright colors
#bright:
#black: '0x585858'
#red: '0xab4642'
#green: '0xa1b56c'
#yellow: '0xf7ca88'
#blue: '0x7cafc2'
#magenta: '0xba8baf'
#cyan: '0x86c1b9'
#white: '0xf8f8f8'
# Тема из вики Alacritty: https://github.com/alacritty/alacritty/wiki/Color-schemes
# Colors (Gruvbox dark)
colors:
# Default colors
primary:
# hard contrast: background = '#1d2021'
background: '#282828'
# soft contrast: background = '#32302f'
foreground: '#ebdbb2'
# Normal colors
normal:
black: '#282828'
red: '#cc241d'
green: '#98971a'
yellow: '#d79921'
blue: '#458588'
magenta: '#b16286'
cyan: '#689d6a'
white: '#a89984'
# Bright colors
bright:
black: '#928374'
red: '#fb4934'
green: '#b8bb26'
yellow: '#fabd2f'
blue: '#83a598'
magenta: '#d3869b'
cyan: '#8ec07c'
white: '#ebdbb2'
key_bindings:
- { key: V, mods: Command, action: Paste }
- { key: C, mods: Command, action: Copy }
- { key: Q, mods: Command, action: Quit }
- { key: N, mods: Command, action: SpawnNewInstance }
- { key: Return, mods: Command, action: ToggleFullscreen }
- { key: Home, chars: "\x1bOH", mode: AppCursor }
- { key: Home, chars: "\x1b[H", mode: ~AppCursor }
- { key: End, chars: "\x1bOF", mode: AppCursor }
- { key: End, chars: "\x1b[F", mode: ~AppCursor }
- { key: Equals, mods: Command, action: IncreaseFontSize }
- { key: Minus, mods: Command, action: DecreaseFontSize }
- { key: Minus, mods: Command|Shift, action: ResetFontSize }
- { key: PageUp, mods: Shift, chars: "\x1b[5;2~" }
- { key: PageUp, mods: Control, chars: "\x1b[5;5~" }
- { key: PageUp, chars: "\x1b[5~" }
- { key: PageDown, mods: Shift, chars: "\x1b[6;2~" }
- { key: PageDown, mods: Control, chars: "\x1b[6;5~" }
- { key: PageDown, chars: "\x1b[6~" }
- { key: Left, mods: Shift, chars: "\x1b[1;2D" }
- { key: Left, mods: Control, chars: "\x1b[1;5D" }
- { key: Left, mods: Alt, chars: "\x1b[1;3D" }
- { key: Left, chars: "\x1b[D", mode: ~AppCursor }
- { key: Left, chars: "\x1bOD", mode: AppCursor }
- { key: Right, mods: Shift, chars: "\x1b[1;2C" }
- { key: Right, mods: Control, chars: "\x1b[1;5C" }
- { key: Right, mods: Alt, chars: "\x1b[1;3C" }
- { key: Right, chars: "\x1b[C", mode: ~AppCursor }
- { key: Right, chars: "\x1bOC", mode: AppCursor }
- { key: Up, mods: Shift, chars: "\x1b[1;2A" }
- { key: Up, mods: Control, chars: "\x1b[1;5A" }
- { key: Up, mods: Alt, chars: "\x1b[1;3A" }
- { key: Up, chars: "\x1b[A", mode: ~AppCursor }
- { key: Up, chars: "\x1bOA", mode: AppCursor }
- { key: Down, mods: Shift, chars: "\x1b[1;2B" }
- { key: Down, mods: Control, chars: "\x1b[1;5B" }
- { key: Down, mods: Alt, chars: "\x1b[1;3B" }
- { key: Down, chars: "\x1b[B", mode: ~AppCursor }
- { key: Down, chars: "\x1bOB", mode: AppCursor }
- { key: Tab, mods: Shift, chars: "\x1b[Z" }
- { key: F1, chars: "\x1bOP" }
- { key: F2, chars: "\x1bOQ" }
- { key: F3, chars: "\x1bOR" }
- { key: F4, chars: "\x1bOS" }
- { key: F5, chars: "\x1b[15~" }
- { key: F6, chars: "\x1b[17~" }
- { key: F7, chars: "\x1b[18~" }
- { key: F8, chars: "\x1b[19~" }
- { key: F9, chars: "\x1b[20~" }
- { key: F10, chars: "\x1b[21~" }
- { key: F11, chars: "\x1b[23~" }
- { key: F12, chars: "\x1b[24~" }
- { key: Back, chars: "\x7f" }
- { key: Back, mods: Alt, chars: "\x1b\x7f" }
- { key: Insert, chars: "\x1b[2~" }
- { key: Delete, chars: "\x1b[3~" }
shell:
program: /bin/bash
args:
- -c
- tmux
env:
WINIT_X11_SCALE_FACTOR: "1.0"