Skip to content

Instantly share code, notes, and snippets.

@ourway
Created December 5, 2025 23:43
Show Gist options
  • Select an option

  • Save ourway/ba49a218f25933539611ee547c843273 to your computer and use it in GitHub Desktop.

Select an option

Save ourway/ba49a218f25933539611ee547c843273 to your computer and use it in GitHub Desktop.
# Alacritty Configuration File (TOML format)
[general]
# General Settings
live_config_reload = true # Automatically reload config changes
ipc_socket = true # Enable Inter-Process Communication (IPC) (Unix only)
# Window Configuration
[window]
# dynamic_padding = true
opacity = 1.0 # Purely opaque background
# Scrolling
[scrolling]
history = 10000 # Maximum number of lines in scrollback buffer
# Font Configuration
# Ensure JetBrains Mono is installed on your system
[font]
size = 14.0 # Recommended size for JetBrains Mono
[font.normal]
family = "JetBrains Mono"
style = "Regular"
[font.bold]
family = "JetBrains Mono"
style = "Bold"
[font.italic]
family = "JetBrains Mono"
style = "Italic"
[font.bold_italic]
family = "JetBrains Mono"
style = "Bold Italic"
# Cursor Configuration
[cursor]
style = { shape = "Block", blinking = "On" }
thickness = 0.25
# Terminal Type Configuration (for Tmux compatibility)
[env]
# Explicitly set the terminal emulation type for optimal compatibility
# Alacritty identifies itself by default, but this ensures correct behavior inside tmux
TERM = "xterm-256color"
# When inside tmux, it usually wants screen or tmux-256color for optimal performance
# For most use cases, Alacritty's default configuration will handle this handshake
# internally, but you can explicitly set it here if necessary:
# TERM = "screen-256color"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment