dotfiles/.config/alacritty/alacritty.yml
2021-09-16 01:35:02 +09:00

78 lines
2.3 KiB
YAML

env:
TERM: xterm-256color
window:
padding:
x: 6
y: 6
title: Alacritty
class:
instance: Alacritty
general: Alacritty
scrolling:
history: 10000
font:
normal:
family: Monospace
style: Regular
bold:
family: Monospace
style: Bold
italic:
family: Monospace
style: Italic
bold_italic:
family: Monospace
style: Bold Italic
# Point size
size: 11.0
offset:
x: 0
y: 1
draw_bold_text_with_bright_colors: true
colors:
primary:
background: '0x282c34'
foreground: '0xbbc2cf'
selection:
text: '0xbbc2cf'
normal:
black: '0x1c1f24'
red: '0xff6c6b'
green: '0x98be65'
yellow: '0xda8548'
blue: '0x51afef'
magenta: '0xc678dd'
cyan: '0x5699af'
white: '0x202328'
bright:
black: '0x5b6268'
red: '0xda8548'
green: '0x4db5bd'
yellow: '0xecbe7b'
blue: '0x3071db' # This is 2257a0 in Doom Emacs but I lightened it.
magenta: '0xa9a1e1'
cyan: '0x46d9ff'
white: '0xdfdfdf'
background_opacity: 0.9
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 }