dotfiles/alacritty/alacritty.yml

106 lines
2.1 KiB
YAML

#======================
# Fonts and colors
#======================
# Fonts
font:
normal:
family: Menlo # Default fallback font
# Alternative monospace fallback fonts
#family: Monaco
#family: Source Code Pro
family: MesloLGM Nerd Font # Use a Nerd-Font for pretty vim statusline
#family: NotoSans Mono # Use a Nerd-Font for pretty vim statusline
#family: MesloLGL Nerd Font # Use a Nerd-Font for pretty vim statusline
size: 11.5
offset:
x: 1
y: 1
glyph_offset: # Aligns powerline fonts
x: 0
y: 1
draw_bold_text_with_bright_colors: false
# Colors (Gruvbox dark)
colors:
# Cursor colors
cursor:
text: CellBackground
cursor: CellForeground
# Vi mode colors
search:
matches:
foreground: '#000000'
background: '#ffffff'
focused_match:
foreground: CellBackground
background: CellForeground
selection:
text: '#000000'
background: '#e69f67'
import:
- ~/.config/alacritty/colors.yml
#==========================
# Window GUI
#==========================
window:
padding:
x: 4
y: 0
decorations: None
startup_mode: Windowed
dynamic_title: false
opacity: 1
scrolling:
history: 10000
multiplier: 1
bell:
duration: 0 # Disable
command: None
selection:
save_to_clipboard: true
cursor:
style:
shape: Block
blinking: Always
vi_mode_style: Block
blink_interval: 400
blink_timeout: 0 # Stop cursor from freezing
unfocused_hollow: true
thickness: 0.15
live_config_reload: true
shell:
program: /bin/bash
args:
- --login
working_directory: None
mouse:
double_click: { threshold: 300 }
triple_click: { threshold: 300 }
hide_when_typing: true
key_bindings:
- { key: LBracket, mods: Control, action: ToggleViMode}
- { key: I, mode: Vi, action: ToggleViMode}
- { key: N, mods: Alt, action: SpawnNewInstance}
- { key: K, mods: Command, chars: "\x08k"}
# let tmux see C-Space
- { key: Space, mods: Control, chars: "\x00" }
- { key: Equals, mods: Control, chars: "+" }
- { key: Minus, mods: Control, chars: "-" }