This repository has been archived by the owner on Oct 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalacritty.yml
165 lines (130 loc) · 3.61 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
#
# Alacritty config
#
env:
TERM: xterm-256color
shell:
program: /usr/local/bin/zsh
args:
- -l
- -c
- "tmux attach || tmux -f ~/dot/tmuxrc"
window:
dimensions:
columns: 200
lines: 57
padding:
x: 5
y: 5
dynamic_padding: true
decorations: buttonless
startup_mode: Windowed
scrolling:
history: 10000
multiplier: 3
scrolling_multiplier: 3
tabspaces: 4
font:
normal:
# family: DejaVu Sans Mono SW
# family: Input Mono Narrow
# style: Thin
family: Fira Mono for Powerline
style: Regular
# italic:
# family: Hack Nerd Font Mono
# style: Italic
# bold:
# family: Hack Nerd Font Mono
# style: Bold
size: 11.5
offset:
x: 5
y: 5
glyph_offset:
x: 0
y: 0
use_thin_strokes: false
draw_bold_text_with_bright_colors: true
visual_bell:
animation: EaseOutExpo
duration: 0
color: '0xffffff'
# Colors (Hyper)
colors:
# Default colors
primary:
background: '0x000000'
foreground: '0xffffff'
cursor:
text: '0xF81CE5'
cursor: '0xffffff'
# Normal colors
normal:
black: '0x000000'
red: '0xfe0100'
green: '0x33ff00'
yellow: '0xfeff00'
blue: '0x0066ff'
magenta: '0xcc00ff'
cyan: '0x00ffff'
white: '0xd0d0d0'
# Bright colors
bright:
black: '0x808080'
red: '0xfe0100'
green: '0x33ff00'
yellow: '0xfeff00'
blue: '0x0066ff'
magenta: '0xcc00ff'
cyan: '0x00ffff'
white: '0xFFFFFF'
background_opacity: 0.80
mouse_bindings:
- { mouse: Middle, action: PasteSelection }
mouse:
double_click: { threshold: 300 }
triple_click: { threshold: 300 }
hide_when_typing: true
url:
modifiers: None
selection:
semantic_escape_chars: ",│`|:\"' ()[]{}<>"
save_to_clipboard: true
dynamic_title: true
cursor:
style: Block
unfocused_hollow: true
live_config_reload: true
enable_experimental_conpty_backend: false
alt_send_esc: true
debug:
render_timer: false
persistent_logging: false
log_level: Warn
print_events: false
ref_test: false
key_bindings:
- { key: Key0, mods: Command, action: ResetFontSize }
- { key: Equals, mods: Command, action: IncreaseFontSize }
- { key: Add, mods: Command, action: IncreaseFontSize }
- { key: Minus, mods: Command, action: DecreaseFontSize }
- { key: K, mods: Command, action: ClearHistory }
- { key: K, mods: Command, chars: "\x0c" }
# make alt on mac function as emacs-style readline
# https://godoc.org/github.com/tiborvass/uniline/ansi#Code
# https://github.com/jwilm/alacritty/issues/93#issuecomment-334790547
- { key: F, mods: Alt, chars: "\x1bf" }
- { key: B, mods: Alt, chars: "\x1bb" }
# https://github.com/jwilm/alacritty/issues/93#issuecomment-427592040
- { key: D, mods: Alt, chars: "\x1bd" }
# add vim keybindings too
- { key: J, mods: Alt, chars: "\x1bj" }
- { key: K, mods: Alt, chars: "\x1bk" }
- { key: H, mods: Alt, chars: "\x1bh" }
- { key: L, mods: Alt, chars: "\x1bl" }
# ---- Custom stuff ----
# Fix `#` symbol not working on macOS, or at least with specific Alacritty version
- { key: Key3, mods: Alt, chars: "\x23" }
# Open new window easily with <cmd><n>
# - { key: N, mods: Command, command: { program: "open", args: ["-n", "/Applications/Alacritty.app"] } }