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.
|
# 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
|
# Any items in the `env` entry below will be added as
|
||||||
# environment variables. Some entries may override variables
|
# environment variables. Some entries may override variables
|
||||||
# set by alacritty itself.
|
# set by alacritty itself.
|
||||||
#env:
|
env:
|
||||||
# TERM variable
|
# TERM variable
|
||||||
#
|
#
|
||||||
# This value is used to set the `$TERM` environment variable for
|
# This value is used to set the `$TERM` environment variable for
|
||||||
# each instance of Alacritty. If it is not present, alacritty will
|
# each instance of Alacritty. If it is not present, alacritty will
|
||||||
# check the local terminfo database and use `alacritty` if it is
|
# check the local terminfo database and use `alacritty` if it is
|
||||||
# available, otherwise `xterm-256color` is used.
|
# available, otherwise `xterm-256color` is used.
|
||||||
#TERM: xterm-256color
|
TERM: xterm-256color
|
||||||
|
|
||||||
window:
|
window:
|
||||||
# Window dimensions (changes require restart)
|
# 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.
|
# Specified in number of columns/lines, not pixels.
|
||||||
# If both are `0`, this setting is ignored.
|
# If both are `0`, this setting is ignored.
|
||||||
|
# to the window manager's recommended size
|
||||||
dimensions:
|
dimensions:
|
||||||
columns: 0
|
columns: 0
|
||||||
lines: 0
|
lines: 0
|
||||||
@ -34,11 +47,11 @@ window:
|
|||||||
# Blank space added around the window in pixels. This padding is scaled
|
# 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.
|
# by DPI and the specified value is always added at both opposing sides.
|
||||||
padding:
|
padding:
|
||||||
x: 2
|
x: 0
|
||||||
y: 2
|
y: 0
|
||||||
|
|
||||||
# Spread additional padding evenly around the terminal content.
|
# Spread additional padding evenly around the terminal content.
|
||||||
dynamic_padding: false
|
dynamic_padding: true
|
||||||
|
|
||||||
# Window decorations
|
# Window decorations
|
||||||
#
|
#
|
||||||
@ -121,14 +134,25 @@ font:
|
|||||||
# The `style` can be specified to pick a specific face.
|
# The `style` can be specified to pick a specific face.
|
||||||
#style: Italic
|
#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
|
# Point size
|
||||||
size: 13.0
|
size: 14.0
|
||||||
|
|
||||||
# Offset is the extra space around each character. `offset.y` can be thought of
|
# 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.
|
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
||||||
offset:
|
offset:
|
||||||
x: 1
|
x: 0
|
||||||
y: 1
|
y: 0
|
||||||
|
|
||||||
# Glyph offset determines the locations of the glyphs within their cells with
|
# 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,
|
# the default being at the bottom. Increasing `x` moves the glyph to the right,
|
||||||
@ -137,66 +161,66 @@ font:
|
|||||||
x: 0
|
x: 0
|
||||||
y: 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
|
# If `true`, Alacritty will use a custom built-in font for box drawing
|
||||||
# it is recommended to set `use_thin_strokes` to `false`
|
# characters (Unicode points 2500 - 259f).
|
||||||
#
|
#
|
||||||
# macOS >= 10.14.x:
|
#builtin_box_drawing: true
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# If `true`, bold text is drawn using the bright color variants.
|
# If `true`, bold text is drawn using the bright color variants.
|
||||||
draw_bold_text_with_bright_colors: true
|
draw_bold_text_with_bright_colors: true
|
||||||
|
|
||||||
# Colors (Tomorrow Night Bright)
|
# Afterglow
|
||||||
colors:
|
colors:
|
||||||
# Default colors
|
# Default colors
|
||||||
primary:
|
primary:
|
||||||
background: '0x1d1f21'
|
background: '0x2c2c2c'
|
||||||
foreground: '0xc5c8c6'
|
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:
|
cursor:
|
||||||
text: '0x1d1f21'
|
text: '0x2c2c2c'
|
||||||
cursor: '0xffffff'
|
cursor: '0xd9d9d9'
|
||||||
|
|
||||||
# Normal colors
|
# Normal colors
|
||||||
normal:
|
normal:
|
||||||
black: '0x1d1f21'
|
black: '0x1c1c1c'
|
||||||
red: '0xcc6666'
|
red: '0xbc5653'
|
||||||
green: '0xb5bd68'
|
green: '0x909d63'
|
||||||
yellow: '0xe6c547'
|
yellow: '0xebc17a'
|
||||||
blue: '0x81a2be'
|
blue: '0x7eaac7'
|
||||||
magenta: '0xb294bb'
|
magenta: '0xaa6292'
|
||||||
cyan: '0x70c0ba'
|
cyan: '0x86d3ce'
|
||||||
white: '0x373b41'
|
white: '0xcacaca'
|
||||||
|
|
||||||
# Bright colors
|
# Bright colors
|
||||||
bright:
|
bright:
|
||||||
black: '0x666666'
|
black: '0x636363'
|
||||||
red: '0xff3334'
|
red: '0xbc5653'
|
||||||
green: '0x9ec400'
|
green: '0x909d63'
|
||||||
yellow: '0xf0c674'
|
yellow: '0xebc17a'
|
||||||
blue: '0x81a2be'
|
blue: '0x7eaac7'
|
||||||
magenta: '0xb77ee0'
|
magenta: '0xaa6292'
|
||||||
cyan: '0x54ced6'
|
cyan: '0x86d3ce'
|
||||||
white: '0x282a2e'
|
white: '0xf7f7f7'
|
||||||
|
|
||||||
# Dim colors
|
# 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
|
# If the dim colors are not set, they will be calculated automatically based
|
||||||
# on the `normal` colors.
|
# on the `normal` colors.
|
||||||
@ -250,7 +274,7 @@ visual_bell:
|
|||||||
#
|
#
|
||||||
# Window opacity as a floating point number from `0.0` to `1.0`.
|
# 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.
|
# The value `0.0` is completely transparent and `1.0` is opaque.
|
||||||
background_opacity: 1.0
|
window.opacity: 1.0
|
||||||
|
|
||||||
# Mouse bindings
|
# Mouse bindings
|
||||||
#
|
#
|
||||||
@ -282,7 +306,7 @@ mouse:
|
|||||||
# If this is `true`, the cursor is temporarily hidden when typing.
|
# If this is `true`, the cursor is temporarily hidden when typing.
|
||||||
hide_when_typing: false
|
hide_when_typing: false
|
||||||
|
|
||||||
url:
|
hints:
|
||||||
# URL launcher
|
# URL launcher
|
||||||
#
|
#
|
||||||
# This program is executed when clicking on a text which is recognized as a URL.
|
# 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 }
|
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||||
|
|
||||||
# (macOS only)
|
# (macOS only)
|
||||||
#- { key: Key0, mods: Command, action: ResetFontSize }
|
- { key: Key0, mods: Command, action: ResetFontSize }
|
||||||
#- { key: Equals, mods: Command, action: IncreaseFontSize }
|
- { key: Equals, mods: Command, action: IncreaseFontSize }
|
||||||
#- { key: Add, mods: Command, action: IncreaseFontSize }
|
- { key: Minus, mods: Command, action: DecreaseFontSize }
|
||||||
#- { key: Minus, mods: Command, action: DecreaseFontSize }
|
- { key: K, mods: Command, action: ClearHistory }
|
||||||
#- { key: K, mods: Command, action: ClearHistory }
|
- { key: K, mods: Command, chars: "\x0c" }
|
||||||
#- { key: K, mods: Command, chars: "\x0c" }
|
- { key: V, mods: Command, action: Paste }
|
||||||
#- { key: V, mods: Command, action: Paste }
|
- { key: C, mods: Command, action: Copy }
|
||||||
#- { key: C, mods: Command, action: Copy }
|
- { key: H, mods: Command, action: Hide }
|
||||||
#- { key: H, mods: Command, action: Hide }
|
- { key: Q, mods: Command, action: Quit }
|
||||||
#- { key: Q, mods: Command, action: Quit }
|
- { key: W, mods: Command, action: Quit }
|
||||||
#- { key: W, mods: Command, action: Quit }
|
|
||||||
|
|
||||||
|
- { key: N, mods: Command, action: CreateNewWindow }
|
||||||
- { key: Paste, action: Paste }
|
- { key: Paste, action: Paste }
|
||||||
- { key: Copy, action: Copy }
|
- { key: Copy, action: Copy }
|
||||||
- { key: L, mods: Control, action: ClearLogNotice }
|
- { key: L, mods: Control, action: ClearLogNotice }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user