125 lines
3.3 KiB
YAML
125 lines
3.3 KiB
YAML
# Configuration for Alacritty, the GPU enhanced terminal emulator
|
|
|
|
env:
|
|
# TERM variable
|
|
#
|
|
# This value is used to set the `$TERM` environment variable for
|
|
# each instance of Alacritty. If it is not present, alacritty will
|
|
# check the local terminfo database and use `alacritty` if it is
|
|
# available, otherwise `xterm-256color` is used.
|
|
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: 80
|
|
lines: 24
|
|
|
|
# Window padding (changes require restart)
|
|
#
|
|
# Blank space added around the window in pixels. This padding is not scaled
|
|
# by DPI and the specified value is always added at both opposing sides.
|
|
padding:
|
|
x: 2
|
|
y: 2
|
|
|
|
|
|
|
|
# When true, bold text is drawn using the bright variant of colors.
|
|
|
|
# Font configuration (changes require restart)
|
|
font:
|
|
# Normal (roman)l font face
|
|
normal:
|
|
family: JetBrains Mono Nerd Font
|
|
# The `style` can be specified to pick a specific face.
|
|
#style: Regular
|
|
|
|
# Bold font face
|
|
# The `style` can be specified to pick a specific face.
|
|
#style: Bold
|
|
|
|
# Italic font face
|
|
# The `style` can be specified to pick a specific face.
|
|
#style: Italic
|
|
|
|
# Point size of the font
|
|
size: 10.0
|
|
|
|
# Offset is the extra space around each character. `offset.y` can be thought of
|
|
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
|
|
|
# Glyph offset determines the locations of the glyphs within their cells with
|
|
# the default being at the bottom. Increasing `x` moves the glyph to the right,
|
|
# increasing `y` moves the glyph upwards.
|
|
|
|
# Should display the render timer
|
|
|
|
|
|
# Visual Bell
|
|
#
|
|
# Any time the BEL code is received, Alacritty "rings" the visual bell. Once
|
|
# rung, the terminal background will be set to white and transition back to the
|
|
# default background color. You can control the rate of this transition by
|
|
# setting the `duration` property (represented in milliseconds). You can also
|
|
# configure the transition function by setting the `animation` property.
|
|
#
|
|
# Possible values for `animation`
|
|
# `Ease`
|
|
# `EaseOut`
|
|
# `EaseOutSine`
|
|
# `EaseOutQuad`
|
|
# `EaseOutCubic`
|
|
# `EaseOutQuart`
|
|
# `EaseOutQuint`
|
|
# `EaseOutExpo`
|
|
# `EaseOutCirc`
|
|
# `Linear`
|
|
#
|
|
# To completely disable the visual bell, set its duration to 0.
|
|
#
|
|
bell:
|
|
animation: EaseOutExpo
|
|
duration: 0
|
|
|
|
mouse_bindings:
|
|
- { mouse: Middle, action: PasteSelection }
|
|
|
|
mouse:
|
|
# Click settings
|
|
#
|
|
# The `double_click` and `triple_click` settings control the time
|
|
# alacritty should wait for accepting multiple clicks as one double
|
|
# or triple click.
|
|
double_click: { threshold: 300 }
|
|
triple_click: { threshold: 300 }
|
|
|
|
selection:
|
|
semantic_escape_chars: ",?`|:\"' ()[]{}<>"
|
|
|
|
# When set to `true`, selected text will be copied to both the primary and
|
|
# the selection clipboard. Otherwise, it will only be copied to the selection
|
|
# clipboard.
|
|
save_to_clipboard: true
|
|
|
|
|
|
cursor:
|
|
# Cursor style
|
|
#
|
|
# Values for `style`:
|
|
# - ? Block
|
|
# - _ Underline
|
|
# - | Beam
|
|
style: Block
|
|
|
|
# If this is `true`, the cursor will be rendered as a hollow box when the
|
|
# window is not focused.
|
|
unfocused_hollow: true
|
|
|
|
# Live config reload (changes require restart)
|
|
live_config_reload: true
|
|
|