Alacritty
How to install and configure Alacritty, a fast, cross-platform, OpenGL terminal emulator
Installation
pacman -Syu alacritty
Configuration
~/.config/alacritty.yml
# Configuration for Alacritty, the GPU enhanced terminal emulator.
env:
TERM: xterm-256color
window:
# Window dimensions (changes require restart)
#
# Specified in number of columns/lines, not pixels.
# If both are `0`, this setting is ignored.
dimensions:
columns: 128
lines: 24
# Window position (changes require restart)
#
# Specified in number of pixels.
# If the position is not set, the window manager will handle the placement.
position:
x: 3836
y: 4
# Background opacity
#
# Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque.
opacity: 0.8
# Font configuration
font:
# Normal (roman) font face
normal:
# Font family
#
# Default:
# - (macOS) Menlo
# - (Linux/BSD) monospace
# - (Windows) Consolas
family: JetBrains Mono
# The `style` can be specified to pick a specific face.
style: Regular
# Bold font face
bold:
# Font family
#
# If the bold family is not specified, it will fall back to the
# value specified for the normal font.
family: JetBrains Mono
# The `style` can be specified to pick a specific face.
style: Bold
# Italic font face
italic:
# Font family
#
# If the italic family is not specified, it will fall back to the
# value specified for the normal font.
family: JetBrains Mono
# The `style` can be specified to pick a specific face.
style: Italic
# Bold italic font face
bold_italic:
# Font family
#
# If the bold italic family is not specified, it will fall back to the
# value specified for the normal font.
family: JetBrains Mono
# The `style` can be specified to pick a specific face.
style: Bold Italic
# Point size
size: 11.0
selection:
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
# When set to `true`, selected text will be copied to the primary clipboard.
save_to_clipboard: false
# Allow terminal applications to change Alacritty's window title.
#dynamic_title: true
cursor:
# Cursor style
#
# Values for `style`:
# - ▇ Block
# - _ Underline
# - | Beam
style:
blinking: Always
blink_interval: 500
key_bindings:
- { key: F, mods: Control, action: SearchForward }
- { key: C, mods: Control, action: Copy }
- { key: V, mods: Control, action: Paste }
colors:
# Default colors
primary:
# background: '#ffffff'
# foreground: '#222222'
background: '#000000'
# background: '#111213'
foreground: '#cacecd'
# Normal colors
normal:
black: '#222222'
red: '#cc0000'
green: '#a2e22e'
yellow: '#ffb000'
blue: '#007acc'
magenta: '#d4038a'
cyan: '#70b596'
white: '#ffffff'
# Bright colors
bright:
black: '#7f7f7f'
red: '#cc0000'
green: '#a2e22e'
yellow: '#ffb000'
blue: '#007acc'
magenta: '#d4038a'
cyan: '#70b596'
white: '#ffffff'