Last active
July 22, 2026 19:13
-
-
Save iuliandita/a4c1dd0e25460af91ebeeef51e0ef7ec to your computer and use it in GitHub Desktop.
Alacritty TOML config file, with all defaults present (commented out), in the proper order. Color scheme is Catppuccin Mocha.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Defaults are commented out. See `man 5 alacritty` for details. | |
| [general] | |
| #import = [ | |
| # "~/.config/alacritty/catppuccin-mocha.toml", | |
| # "~/.config/alacritty/keybindings.toml", | |
| #] | |
| #working_directory = "None" | |
| #live_config_reload = true | |
| #ipc_socket = true | |
| [env] | |
| TERM = "xterm-256color" | |
| [window] | |
| #dimensions = { columns = 0, lines = 0 } | |
| #position = "None" | |
| padding = { x = 2, y = 2 } | |
| #dynamic_padding = false | |
| decorations = "None" | |
| opacity = 1.0 | |
| blur = true | |
| #startup_mode = "Windowed" | |
| #title = "Alacritty" | |
| #dynamic_title = true | |
| #class = { instance = "Alacritty", general = "Alacritty" } | |
| #decorations_theme_variant = "None" | |
| #resize_increments = false | |
| #option_as_alt = "None" | |
| #level = "Normal" | |
| [scrolling] | |
| history = 65535 | |
| #multiplier = 3 | |
| [font] | |
| normal = { family = "FantasqueSansMNerdFont Propo", style = "Regular" } | |
| bold = { family = "FantasqueSansMNerdFont Propo", style = "Bold" } | |
| italic = { family = "FantasqueSansMNerdFont Propo", style = "Italic" } | |
| bold_italic = { family = "FantasqueSansMNerdFont Propo", style = "Bold Italic" } | |
| #size = 11.25 | |
| offset = { x = 0, y = 0 } | |
| glyph_offset = { x = 0, y = 0 } | |
| #builtin_box_drawing = true | |
| # Catppuccin Mocha | |
| [colors.primary] | |
| background = "#1E1E2E" | |
| foreground = "#CDD6F4" | |
| dim_foreground = "#CDD6F4" | |
| bright_foreground = "#CDD6F4" | |
| [colors.cursor] | |
| text = "#1E1E2E" | |
| cursor = "#F5E0DC" | |
| [colors.vi_mode_cursor] | |
| text = "#1E1E2E" | |
| cursor = "#B4BEFE" | |
| [colors.search.matches] | |
| foreground = "#1E1E2E" | |
| background = "#A6ADC8" | |
| [colors.search.focused_match] | |
| foreground = "#1E1E2E" | |
| background = "#A6E3A1" | |
| [colors.hints.start] | |
| foreground = "#1E1E2E" | |
| background = "#F9E2AF" | |
| [colors.hints.end] | |
| foreground = "#1E1E2E" | |
| background = "#A6ADC8" | |
| [colors.line_indicator] | |
| #foreground = "None" | |
| #background = "None" | |
| [colors.footer_bar] | |
| foreground = "#1E1E2E" | |
| background = "#A6ADC8" | |
| [colors.selection] | |
| text = "#1E1E2E" | |
| background = "#F5E0DC" | |
| [colors.normal] | |
| black = "#45475A" | |
| red = "#F38BA8" | |
| green = "#A6E3A1" | |
| yellow = "#F9E2AF" | |
| blue = "#89B4FA" | |
| magenta = "#F5C2E7" | |
| cyan = "#94E2D5" | |
| white = "#BAC2DE" | |
| [colors.bright] | |
| black = "#585B70" | |
| red = "#F38BA8" | |
| green = "#A6E3A1" | |
| yellow = "#F9E2AF" | |
| blue = "#89B4FA" | |
| magenta = "#F5C2E7" | |
| cyan = "#94E2D5" | |
| white = "#A6ADC8" | |
| [colors.dim] | |
| black = "#45475A" | |
| red = "#F38BA8" | |
| green = "#A6E3A1" | |
| yellow = "#F9E2AF" | |
| blue = "#89B4FA" | |
| magenta = "#F5C2E7" | |
| cyan = "#94E2D5" | |
| white = "#BAC2DE" | |
| [colors] | |
| indexed_colors = [ | |
| { index = 16, color = "#FAB387" }, | |
| { index = 17, color = "#F5E0DC" }, | |
| ] | |
| #transparent_background_colors = false | |
| draw_bold_text_with_bright_colors = true | |
| [bell] | |
| animation = "EaseOutExpo" | |
| duration = 0 | |
| color = "#C0C5CE" | |
| command = { program = "notify-send", args = ["alacritty", "bell",] } | |
| [selection] | |
| #semantic_escape_chars = ",│‘|:\"' ()[]{}<>\t" | |
| save_to_clipboard = true | |
| [cursor.style] | |
| shape = "Beam" | |
| blinking = "Always" | |
| [cursor.vi_mode_style] | |
| shape = "Block" | |
| blinking = "Off" | |
| [cursor] | |
| blink_interval = 500 | |
| blink_timeout = 0 | |
| #unfocused_hollow = true | |
| #thickness = 0.15 | |
| [terminal] | |
| shell = { program = "/usr/bin/zsh", args = ["--login"] } | |
| #osc52 = "OnlyCopy" | |
| [mouse] | |
| hide_when_typing = true | |
| bindings = [ | |
| { mouse = "Middle", action = "PasteSelection", mode = "~Vi" }, | |
| ] | |
| [hints] | |
| #alphabet = "jfkdls;ahgurieowpq" | |
| #[[hints.enabled]] | |
| #command = "xdg-open" | |
| ## command = "open" # On macOS | |
| ## command = { program = "cmd", args = [ "/c", "start", "" ] } # On Windows | |
| #hyperlinks = true | |
| #post_processing = true | |
| #persist = false | |
| #mouse.enabled = true | |
| #binding = { key = "O", mods = "Control|Shift" } | |
| #regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩‘\\\\]+" | |
| [keyboard] | |
| bindings = [ | |
| { key = "Paste", action = "Paste" }, | |
| { key = "Copy", action = "Copy" }, | |
| { key = "L", mods = "Control", action = "ClearLogNotice" }, | |
| { key = "Paste", action = "Paste", mode = "Vi|Search" }, | |
| { key = "L", mods = "Control", chars = "\f", mode = "~Vi|~Search" }, | |
| { 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" }, | |
| { key = "V", mods = "Control|Shift", action = "Paste", mode = "~Vi" }, | |
| { key = "V", mods = "Control|Shift", action = "Paste", mode = "Vi|Search" }, | |
| { key = "C", mods = "Control|Shift", action = "Copy" }, | |
| { key = "F", mods = "Control|Shift", action = "SearchForward", mode = "~Search" }, | |
| { key = "B", mods = "Control|Shift", action = "SearchBackward", mode = "~Search" }, | |
| { key = "C", mods = "Control|Shift", action = "ClearSelection", mode = "Vi|~Search" }, | |
| { key = "Insert", mods = "Shift", action = "PasteSelection" }, | |
| { key = "0", mods = "Control", action = "ResetFontSize" }, | |
| { key = "=", mods = "Control", action = "IncreaseFontSize" }, | |
| { key = "+", mods = "Control", action = "IncreaseFontSize" }, | |
| { key = "NumpadAdd", mods = "Control", action = "IncreaseFontSize" }, | |
| { key = "-", mods = "Control", action = "DecreaseFontSize" }, | |
| { key = "NumpadSubtract", mods = "Control", action = "DecreaseFontSize" }, | |
| ] | |
| [debug] | |
| #render_timer = false | |
| #persistent_logging = false | |
| #log_level = "Warn" | |
| #renderer = "None" | |
| #print_events = false | |
| #highlight_damage = false | |
| #prefer_egl = false |
Thanks 🙏
thanks. for some reason the official sources dont even have even an example one... ugh
Thanks😊.
[general] is missing
Author
well, to be fair, i stopped using alacritty, and haven't updated the config in a couple of years...
Author
@amrikmalhans @lautarodragan @kvnlpz @desilv @geerlingguy
updated for 0.17.0.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ty