mirror of
https://github.com/danbee/dotfiles-local
synced 2025-03-04 08:49:07 +00:00
Update Alacritty config
This commit is contained in:
parent
766726309e
commit
9863769625
@ -1,22 +1,35 @@
|
||||
# Configuration for Alacritty, the GPU enhanced terminal emulator.
|
||||
|
||||
# Import additional configuration files
|
||||
#
|
||||
# Imports are loaded in order, skipping all missing files, with the importing
|
||||
# file being loaded last. If a field is already present in a previous import, it
|
||||
# will be replaced.
|
||||
#
|
||||
# All imports must either be absolute paths starting with `/`, or paths relative
|
||||
# to the user's home directory starting with `~/`.
|
||||
#import:
|
||||
# - /path/to/alacritty.yml
|
||||
|
||||
# Any items in the `env` entry below will be added as
|
||||
# environment variables. Some entries may override variables
|
||||
# set by alacritty itself.
|
||||
#env:
|
||||
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
|
||||
TERM: xterm-256color
|
||||
|
||||
window:
|
||||
# Window dimensions (changes require restart)
|
||||
#
|
||||
# Number of lines/columns (not pixels) in the terminal. Both lines and columns
|
||||
# Specified in number of columns/lines, not pixels.
|
||||
# If both are `0`, this setting is ignored.
|
||||
# to the window manager's recommended size
|
||||
dimensions:
|
||||
columns: 0
|
||||
lines: 0
|
||||
@ -34,11 +47,11 @@ window:
|
||||
# Blank space added around the window in pixels. This padding is scaled
|
||||
# by DPI and the specified value is always added at both opposing sides.
|
||||
padding:
|
||||
x: 2
|
||||
y: 2
|
||||
x: 0
|
||||
y: 0
|
||||
|
||||
# Spread additional padding evenly around the terminal content.
|
||||
dynamic_padding: false
|
||||
dynamic_padding: true
|
||||
|
||||
# Window decorations
|
||||
#
|
||||
@ -121,14 +134,25 @@ font:
|
||||
# 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: monospace
|
||||
|
||||
# The `style` can be specified to pick a specific face.
|
||||
#style: Bold Italic
|
||||
|
||||
# Point size
|
||||
size: 13.0
|
||||
size: 14.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.
|
||||
offset:
|
||||
x: 1
|
||||
y: 1
|
||||
x: 0
|
||||
y: 0
|
||||
|
||||
# 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,
|
||||
@ -137,66 +161,66 @@ font:
|
||||
x: 0
|
||||
y: 0
|
||||
|
||||
# Thin stroke font rendering (macOS only)
|
||||
# Use built-in font for box drawing characters.
|
||||
#
|
||||
# Thin strokes are suitable for retina displays, but for non-retina screens
|
||||
# it is recommended to set `use_thin_strokes` to `false`
|
||||
# If `true`, Alacritty will use a custom built-in font for box drawing
|
||||
# characters (Unicode points 2500 - 259f).
|
||||
#
|
||||
# macOS >= 10.14.x:
|
||||
#
|
||||
# If the font quality on non-retina display looks bad then set
|
||||
# `use_thin_strokes` to `true` and enable font smoothing by running the
|
||||
# following command:
|
||||
# `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO`
|
||||
#
|
||||
# This is a global setting and will require a log out or restart to take
|
||||
# effect.
|
||||
use_thin_strokes: true
|
||||
|
||||
# Display the time it takes to redraw each frame.
|
||||
render_timer: false
|
||||
|
||||
# Keep the log file after quitting Alacritty.
|
||||
persistent_logging: false
|
||||
#builtin_box_drawing: true
|
||||
|
||||
# If `true`, bold text is drawn using the bright color variants.
|
||||
draw_bold_text_with_bright_colors: true
|
||||
|
||||
# Colors (Tomorrow Night Bright)
|
||||
# Afterglow
|
||||
colors:
|
||||
# Default colors
|
||||
primary:
|
||||
background: '0x1d1f21'
|
||||
foreground: '0xc5c8c6'
|
||||
background: '0x2c2c2c'
|
||||
foreground: '0xd6d6d6'
|
||||
|
||||
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||
dim_foreground: '0xdbdbdb'
|
||||
bright_foreground: '0xd9d9d9'
|
||||
dim_background: '0x202020' # not sure
|
||||
bright_background: '0x3a3a3a' # not sure
|
||||
|
||||
# Cursor colors
|
||||
cursor:
|
||||
text: '0x1d1f21'
|
||||
cursor: '0xffffff'
|
||||
text: '0x2c2c2c'
|
||||
cursor: '0xd9d9d9'
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '0x1d1f21'
|
||||
red: '0xcc6666'
|
||||
green: '0xb5bd68'
|
||||
yellow: '0xe6c547'
|
||||
blue: '0x81a2be'
|
||||
magenta: '0xb294bb'
|
||||
cyan: '0x70c0ba'
|
||||
white: '0x373b41'
|
||||
black: '0x1c1c1c'
|
||||
red: '0xbc5653'
|
||||
green: '0x909d63'
|
||||
yellow: '0xebc17a'
|
||||
blue: '0x7eaac7'
|
||||
magenta: '0xaa6292'
|
||||
cyan: '0x86d3ce'
|
||||
white: '0xcacaca'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '0x666666'
|
||||
red: '0xff3334'
|
||||
green: '0x9ec400'
|
||||
yellow: '0xf0c674'
|
||||
blue: '0x81a2be'
|
||||
magenta: '0xb77ee0'
|
||||
cyan: '0x54ced6'
|
||||
white: '0x282a2e'
|
||||
black: '0x636363'
|
||||
red: '0xbc5653'
|
||||
green: '0x909d63'
|
||||
yellow: '0xebc17a'
|
||||
blue: '0x7eaac7'
|
||||
magenta: '0xaa6292'
|
||||
cyan: '0x86d3ce'
|
||||
white: '0xf7f7f7'
|
||||
|
||||
# Dim colors
|
||||
dim:
|
||||
black: '0x232323'
|
||||
red: '0x74423f'
|
||||
green: '0x5e6547'
|
||||
yellow: '0x8b7653'
|
||||
blue: '0x556b79'
|
||||
magenta: '0x6e4962'
|
||||
cyan: '0x5c8482'
|
||||
white: '0x828282'
|
||||
# Dim colors
|
||||
#
|
||||
# If the dim colors are not set, they will be calculated automatically based
|
||||
# on the `normal` colors.
|
||||
@ -250,7 +274,7 @@ visual_bell:
|
||||
#
|
||||
# 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.
|
||||
background_opacity: 1.0
|
||||
window.opacity: 1.0
|
||||
|
||||
# Mouse bindings
|
||||
#
|
||||
@ -282,7 +306,7 @@ mouse:
|
||||
# If this is `true`, the cursor is temporarily hidden when typing.
|
||||
hide_when_typing: false
|
||||
|
||||
url:
|
||||
hints:
|
||||
# URL launcher
|
||||
#
|
||||
# This program is executed when clicking on a text which is recognized as a URL.
|
||||
@ -455,18 +479,18 @@ key_bindings:
|
||||
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||
|
||||
# (macOS only)
|
||||
#- { 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" }
|
||||
#- { key: V, mods: Command, action: Paste }
|
||||
#- { key: C, mods: Command, action: Copy }
|
||||
#- { key: H, mods: Command, action: Hide }
|
||||
#- { key: Q, mods: Command, action: Quit }
|
||||
#- { key: W, mods: Command, action: Quit }
|
||||
- { key: Key0, mods: Command, action: ResetFontSize }
|
||||
- { key: Equals, mods: Command, action: IncreaseFontSize }
|
||||
- { key: Minus, mods: Command, action: DecreaseFontSize }
|
||||
- { key: K, mods: Command, action: ClearHistory }
|
||||
- { key: K, mods: Command, chars: "\x0c" }
|
||||
- { key: V, mods: Command, action: Paste }
|
||||
- { key: C, mods: Command, action: Copy }
|
||||
- { key: H, mods: Command, action: Hide }
|
||||
- { key: Q, mods: Command, action: Quit }
|
||||
- { key: W, mods: Command, action: Quit }
|
||||
|
||||
- { key: N, mods: Command, action: CreateNewWindow }
|
||||
- { key: Paste, action: Paste }
|
||||
- { key: Copy, action: Copy }
|
||||
- { key: L, mods: Control, action: ClearLogNotice }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user