Skip to content

Instantly share code, notes, and snippets.

@ivan-loh
Created October 5, 2025 09:14
Show Gist options
  • Select an option

  • Save ivan-loh/19b6e41e7902e2747865d4effc03f4ac to your computer and use it in GitHub Desktop.

Select an option

Save ivan-loh/19b6e41e7902e2747865d4effc03f4ac to your computer and use it in GitHub Desktop.
Ivan's 2025-10-05 MacOS 26 Alacritty Config
# Prerequisites:
# brew install --cask font-fira-code
# git clone https://github.com/alacritty/alacritty-theme.git ~/.config/alacritty/themes
[general]
import = ["~/.config/alacritty/themes/themes/sonokai.toml"]
[window]
opacity = 0.95
decorations = "buttonless"
dynamic_padding = false
blur = true
option_as_alt = "OnlyLeft"
[window.padding]
x = 15
y = 15
[font]
size = 15.0
offset = { x = 0, y = 1 }
builtin_box_drawing = true
[font.normal]
family = "Fira Code"
[font.bold]
family = "Fira Code"
[font.italic]
family = "Fira Code"
[scrolling]
history = 10000
multiplier = 3
[cursor]
style = "Block"
unfocused_hollow = true
[selection]
save_to_clipboard = true
semantic_escape_chars = ",│`|:\"' ()[]{}<>\t"
[[hints.enabled]]
regex = '(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\s<>"{}|\\^`()\[\]]+'
command = "open"
post_processing = true
[hints.enabled.mouse]
enabled = true
mods = "Command"
[keyboard]
bindings = [
{ key = "Return", mods = "Shift", chars = "\n" },
{ key = "N", mods = "Command", action = "CreateNewWindow" },
{ key = "W", mods = "Command", action = "Quit" },
{ key = "K", mods = "Command", chars = "\f" },
{ key = "F", mods = "Command", action = "SearchForward" },
{ key = "G", mods = "Command", action = "SearchForward" },
{ key = "G", mods = "Command|Shift", action = "SearchBackward" },
{ key = "Plus", mods = "Command", action = "IncreaseFontSize" },
{ key = "Minus", mods = "Command", action = "DecreaseFontSize" },
{ key = "Key0", mods = "Command", action = "ResetFontSize" },
{ key = "Return", mods = "Command", action = "ToggleFullscreen" },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment