chore(dotfiles): Update Alacritty configuration for new version

This commit is contained in:
Vincent Ambo 2018-10-10 12:55:28 +02:00
parent cd10aa4754
commit ff1f5271f4

View file

@ -1,37 +1,20 @@
# Configuration for Alacritty, the GPU enhanced terminal emulator
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty it self.
env:
# TERM env customization.
#
# If this property is not set, alacritty will set it to xterm-256color.
#
# Note that some xterm terminfo databases don't declare support for italics.
# You can verify this by checking for the presence of `smso` and `sitm` in
# `infocmp xterm-256color`.
TERM: xterm-256color
# Window dimensions in character columns and lines
# (changes require restart)
dimensions:
columns: 80
lines: 24
window:
# TODO
decorations: full
# Adds this many blank pixels of padding around the window
# Units are physical pixels; this is not DPI aware.
# (change requires restart)
padding:
x: 2
y: 2
# The FreeType rasterizer needs to know the device DPI for best results
# (changes require restart)
dpi:
x: 96.0
y: 96.0
scrolling:
history: 10000
multiplier: 3
faux_multiplier: 3
auto_scroll: true # TODO
# Display tabs using this many cells (changes require restart)
tabspaces: 4
@ -52,32 +35,14 @@ font:
# Point size of the font
size: 12.0
# Offset is the extra space around each character. offset.y can be thought of
# as modifying the linespacing, and offset.x as modifying the letter spacing.
offset:
x: 0.0
y: 0.0
# Glyph offset determines the locations of the glyphs within their cells with
# the default being at the bottom. Increase the x offset to move the glyph to
# the right, increase the y offset to move the glyph upward.
glyph_offset:
x: 0.0
y: 0.0
# OS X only: use thin stroke font rendering. Thin strokes are suitable
# for retina displays, but for non-retina you probably want this set to
# false.
use_thin_strokes: true
# Should display the render timer
render_timer: false
# Scale the font size based on the monitor's DPI.
scale_with_dpi: false
# Use custom cursor colors. If true, display the cursor in the cursor.foreground
# and cursor.background colors, otherwise invert the colors of the cursor.
custom_cursor_colors: false
# Colors (Tomorrow Night Bright)
# Colors (Gruber Darker)
colors:
# Default colors
primary:
@ -111,35 +76,7 @@ colors:
cyan: '0x1fad83'
white: '0xffffff'
# 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.
#
visual_bell:
animation: EaseOutExpo
duration: 0
# Background opacity
background_opacity: 0.95
# Key bindings
#
# Each binding is defined as an object with some properties. Most of the
@ -254,11 +191,9 @@ mouse:
selection:
semantic_escape_chars: ",│`|:\"' ()[]{}<>"
background_opacity: 1.0
hide_cursor_when_typing: false
# Live config reload (changes require restart)
live_config_reload: true
shell:
program: tmux