dotfiles/.config/alacritty/alacritty.yml

67 lines
1.5 KiB
YAML

env:
# For better compatibility.
# <https://github.com/alacritty/alacritty/issues/2049>
TERM: xterm-256color
font:
normal:
family: Source Code Pro
size: 12.0
# xterm does this
draw_bold_text_with_bright_colors: true
# xterm colours, except blue
colors:
primary:
background: '#111111'
foreground: '#CDCDCD'
normal:
black: '#111111'
red: '#CD0000'
green: '#00CD00'
yellow: '#CDCD00'
blue: '#005CFF'
magenta: '#CD00CD'
cyan: '#00CDCD'
white: '#CDCDCD'
bright:
black: '#7F7F7F'
red: '#FF0000'
green: '#00FF00'
yellow: '#FFFF00'
blue: '#5C5CFF'
magenta: '#FF00FF'
cyan: '#00FFFF'
white: '#FFFFFF'
bell:
animation: EaseOutSine
duration: 200
color: '#BD01BE' # colour 201/256
hints:
enabled:
- regex: "(mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:|magnet:)[^\u0000-\u001F\u007F-\u009F<>\" {-}\\^⟨⟩`]+"
command: xdg-open
post_processing: true
mouse:
enabled: true
mods: Control
mouse:
hide_when_typing: true
key_bindings:
- { key: Back, mods: Control, chars: "\x1b\x7f" }
- { key: Semicolon, mods: Control|Shift, chars: "\e;" }
- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp }
- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown }
scrolling:
history: 10000
selection:
# Characters that are used to separate “words”.
semantic_escape_chars: ",│`|\"' ()[]{}<>\t·"