[font] normal = { family = "BerkeleyMono Nerd Font Mono", style = "Regular" } # NOTE: if font seems to bold, disable font smoothing for Alacritty # defaults write org.alacritty AppleFontSmoothing -int 0 bold = { style = "Bold" } italic = { style = "Oblique" } bold_italic = { style = "Bold Oblique" } #offset = { x = 0, y = 0 } [window] # option_as_alt = "Both" option_as_alt = "None" decorations = "None" padding = { x = 12, y = 5 } dynamic_padding = true # blur = true [bell] duration = 0 color = "#3a3a3a" [cursor] style = { shape = "Block", blinking = "Always" } [colors.search] matches = { foreground = "#007a61", background = "#dedede" } focused_match = { foreground = "#dedede", background = "#007a61" } [colors.footer_bar] background = "#007a61" foreground = "#00dcaf" [colors.vi_mode_cursor] text = "#dedede" cursor = "#007a61" [keyboard] bindings = [ # Required to make Ctrl+/ work on macOS (used in Telescope) { chars = "\u001F", key = "Slash", mods = "Control" }, { key = "Key0", mods = "Command", action = "ResetFontSize" }, { key = "0", mods = "Command", action = "ResetFontSize" }, { key = "Plus", mods = "Command", action = "IncreaseFontSize" }, { key = "Minus", mods = "Command", action = "DecreaseFontSize" }, { key = "PageUp", mods = "Shift", action = "ScrollPageUp" }, { key = "PageDown", mods = "Shift", action = "ScrollPageDown" }, # Disable Cmd+w to avoid accidental closing. Disabling Cmd+q needs more work { key = "w", mods = "Command", action = "None" }, { key = "v", mods = "Alt", action="ToggleViMode" }, { key = "f", mods = "Control", action = "SearchForward" }, ] [general] # Vi Mode # The vi mode allows moving around Alacritty's viewport and scrollback using # the keyboard. It also serves as a jump-off point for other features like # search and opening URLs with the keyboard. By default you can launch it # using Ctrl Shift Space. # Selection # One useful feature of vi mode is the ability to make selections and copy text # to the clipboard. By default you can start a selection using v and copy it # using y. All selection modes that are available with the mouse can be accessed # from vi mode, including the semantic (Alt v), line (Shift v) and block # selection (Ctrl v). You can also toggle between them while the selection is # still active. import = ["~/.config/alacritty/rose-pine-moon.toml", "~/.config/alacritty/alacritty-macos.toml", "~/.config/alacritty/alacritty-minix.toml"] #[mouse] #hide_when_typing = true