mirror of https://github.com/E-Almqvist/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
2.8 KiB
111 lines
2.8 KiB
# Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|
env:
|
|
TERM: xterm-256color
|
|
|
|
window:
|
|
opacity: 1.0
|
|
padding:
|
|
x: 8
|
|
y: 8
|
|
|
|
# Window title
|
|
title: Terminal
|
|
|
|
# Window class (Linux/BSD only):
|
|
class:
|
|
# Application instance name
|
|
instance: Alacritty
|
|
# General application class
|
|
general: Alacritty
|
|
|
|
|
|
scrolling:
|
|
history: 5000
|
|
|
|
# Font configuration
|
|
font:
|
|
# Normal (roman) font face
|
|
normal:
|
|
|
|
family: Fira Code
|
|
|
|
# The `style` can be specified to pick a specific face.
|
|
style: Regular
|
|
|
|
# Bold font face
|
|
bold:
|
|
|
|
family: Fira Code
|
|
|
|
# The `style` can be specified to pick a specific face.
|
|
style: Bold
|
|
|
|
# Italic font face
|
|
italic:
|
|
|
|
style: Italic
|
|
|
|
# Bold italic font face
|
|
bold_italic:
|
|
|
|
family: Fira Code
|
|
|
|
# The `style` can be specified to pick a specific face.
|
|
style: Bold Italic
|
|
|
|
# Point size
|
|
size: 9
|
|
|
|
# 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: 0
|
|
y: 1
|
|
|
|
# If `true`, bold text is drawn using the bright color variants.
|
|
draw_bold_text_with_bright_colors: true
|
|
|
|
colors:
|
|
# Default colors
|
|
primary:
|
|
background: '0x282c34'
|
|
foreground: '0xbbc2cf'
|
|
|
|
# Normal colors
|
|
normal:
|
|
black: '0x21242b'
|
|
red: '0xff6c6b'
|
|
green: '0x98be65'
|
|
yellow: '0xecbe7b'
|
|
blue: '0x51afef'
|
|
magenta: '0xc678dd'
|
|
cyan: '0x46d9ff'
|
|
white: '0xbbc2cf'
|
|
|
|
cursor:
|
|
# Values for `style`:
|
|
# - ▇ Block
|
|
# - _ Underline
|
|
# - | Beam
|
|
style: Beam
|
|
|
|
key_bindings:
|
|
# (Windows, Linux, and BSD only)
|
|
- { key: V, mods: Control|Shift, action: Paste }
|
|
- { key: C, mods: Control|Shift, action: Copy }
|
|
- { key: Insert, mods: Shift, action: PasteSelection }
|
|
- { key: Key0, mods: Control, action: ResetFontSize }
|
|
- { key: Equals, mods: Control, action: IncreaseFontSize }
|
|
- { key: Plus, mods: Control, action: IncreaseFontSize }
|
|
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
|
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
|
|
|
- { key: Paste, action: Paste }
|
|
- { key: Copy, action: Copy }
|
|
- { key: L, mods: Control, action: ClearLogNotice }
|
|
- { key: L, mods: Control, chars: "\x0c" }
|
|
- { key: PageUp, mods: Shift, action: ScrollPageUp, mode: ~Alt }
|
|
- { key: PageDown, mods: Shift, action: ScrollPageDown, mode: ~Alt }
|
|
- { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt }
|
|
- { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt }
|
|
|
|
|