.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "ALACRITTY" "5" "2024-03-31" .PP .SH NAME .PP Alacritty - TOML configuration file format.\& .PP .SH SYNTAX .PP Alacritty'\&s configuration file uses the TOML format.\& The format'\&s specification can be found at \fIhttps://toml.\&io/en/v1.\&0.\&0\fR.\& .PP .SH GENERAL .PP This section documents the root level of the configuration file.\& .PP \fBimport\fR = [\fI""\fR,] .PP .RS 4 Import additional configuration files.\& .PP Imports are loaded in order, skipping all missing files, with the importing file being loaded last.\& If a field is already present in a previous import, it will be replaced.\& .PP All imports must either be absolute paths starting with \fI/\fR, or paths relative to the user'\&s home directory starting with \fI~/\fR.\& .PP Example: .RS 4 import = [ .br \fI"~/.\&config/alacritty/base16-dark.\&toml"\fR, .br \fI"~/.\&config/alacritty/keybindings.\&toml"\fR, .br ] .PP .RE .RE \fBshell\fR = \fI""\fR | { program = \fI""\fR, args = [\fI""\fR,] } .PP .RS 4 You can set \fIshell.\&program\fR to the path of your favorite shell, e.\&g.\& \fI/bin/zsh\fR.\& Entries in \fIshell.\&args\fR are passed as arguments to the shell.\& .PP Default: .RS 4 Linux/BSD/macOS: \fI$SHELL\fR or the user'\&s login shell, if \fI$SHELL\fR is unset .br Windows: \fI"powershell"\fR .PP .RE Example: .RS 4 \fB[shell]\fR .br program = \fI"/bin/zsh"\fR .br args = [\fI"-l"\fR] .PP .RE .RE \fBworking_directory\fR = \fI""\fR | \fI"None"\fR .PP .RS 4 Directory the shell is started in.\& When this is unset, or \fI"None"\fR, the working directory of the parent process will be used.\& .PP Default: \fI"None"\fR .PP .RE \fBlive_config_reload\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 Live config reload (changes require restart) .PP Default: \fItrue\fR .PP .RE \fBipc_socket\fR = \fItrue\fR | \fIfalse\fR # \fI(unix only)\fR .PP .RS 4 Offer IPC using \fIalacritty msg\fR .PP Default: \fItrue\fR .PP .RE .SH ENV .PP All key-value pairs in the \fB[env]\fR section will be added as environment variables for any process spawned by Alacritty, including its shell.\& Some entries may override variables set by alacritty itself.\& .PP Example: .RS 4 \fB[env]\fR .br WINIT_X11_SCALE_FACTOR = \fI"1.\&0"\fR .PP .RE .SH WINDOW .PP This section documents the \fB[window]\fR table of the configuration file.\& .PP \fBdimensions\fR = { columns = \fI\fR, lines = \fI\fR } .PP .RS 4 Window dimensions (changes require restart).\& .PP Number of lines/columns (not pixels) in the terminal.\& Both lines and columns must be non-zero for this to take effect.\& The number of columns must be at least \fI2\fR, while using a value of \fI0\fR for columns and lines will fall back to the window manager'\&s recommended size .PP Default: { columns = \fI0\fR, lines = \fI0\fR } .PP .RE \fBposition\fR = \fI"None"\fR | { x = \fI\fR, y = \fI\fR } .PP .RS 4 Window startup position.\& .PP Specified in number of pixels.\& .PP If the position is \fI"None"\fR, the window manager will handle placement.\& .PP Default: \fI"None"\fR .PP .RE \fBpadding\fR = { x = \fI\fR, y = \fI\fR } .PP .RS 4 Blank space added around the window in pixels.\& This padding is scaled by DPI and the specified value is always added at both opposing sides.\& .PP Default: { x = \fI0\fR, y = \fI0\fR } .PP .RE \fBdynamic_padding\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 Spread additional padding evenly around the terminal content.\& .PP Default: \fIfalse\fR .PP .RE \fBdecorations\fR = \fI"Full"\fR | \fI"None"\fR | \fI"Transparent"\fR | \fI"Buttonless"\fR .PP .RS 4 Window decorations.\& .PP \fBFull\fR .RS 4 Borders and title bar.\& .RE \fBNone\fR .RS 4 Neither borders nor title bar.\& .RE \fBTransparent\fR \fI(macOS only)\fR .RS 4 Title bar, transparent background and title bar buttons.\& .RE \fBButtonless\fR \fI(macOS only)\fR .RS 4 Title bar, transparent background and no title bar buttons.\& .PP .RE Default: \fI"Full"\fR .PP .RE \fBopacity\fR = \fI\fR .PP .RS 4 Background opacity as a floating point number from \fI0.\&0\fR to \fI1.\&0\fR.\& The value \fI0.\&0\fR is completely transparent and \fI1.\&0\fR is opaque.\& .PP Default: \fI1.\&0\fR .PP .RE \fBblur\fR = \fItrue\fR | \fIfalse\fR # \fI(works on macOS/KDE Wayland)\fR .PP .RS 4 Request compositor to blur content behind transparent windows.\& .PP Default: \fIfalse\fR .PP .RE \fBstartup_mode\fR = \fI"Windowed"\fR | \fI"Maximized"\fR | \fI"Fullscreen"\fR | \fI"SimpleFullscreen"\fR .PP .RS 4 Startup mode (changes require restart) .PP \fBWindowed\fR .RS 4 Regular window.\& .RE \fBMaximized\fR .RS 4 The window will be maximized on startup.\& .RE \fBFullscreen\fR .RS 4 The window will be fullscreened on startup.\& .RE \fBSimpleFullscreen\fR \fI(macOS only)\fR .RS 4 Same as \fIFullscreen\fR, but you can stack windows on top.\& .PP .RE Default: \fI"Windowed"\fR .PP .RE \fBtitle\fR = \fI""\fR .PP .RS 4 Window title.\& .PP Default: \fI"Alacritty"\fR .PP .RE \fBdynamic_title\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 Allow terminal applications to change Alacritty'\&s window title.\& .PP Default: \fItrue\fR .PP .RE \fBclass\fR = { instance = \fI""\fR, general = \fI""\fR } # \fI(Linux/BSD only)\fR .PP .RS 4 Window class.\& .PP On Wayland, \fBgeneral\fR is used as \fIapp_id\fR and \fBinstance\fR is ignored.\& .PP Default: { instance = \fI"Alacritty"\fR, general = \fI"Alacritty"\fR } .PP .RE \fBdecorations_theme_variant\fR = \fI"Dark"\fR | \fI"Light"\fR | \fI"None"\fR .PP .RS 4 Override the variant of the System theme/GTK theme/Wayland client side decorations.\& Set this to \fI"None"\fR to use the system'\&s default theme variant.\& .PP Default: \fI"None"\fR .PP .RE \fBresize_increments\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 Prefer resizing window by discrete steps equal to cell dimensions.\& .PP Default: \fIfalse\fR .PP .RE \fBoption_as_alt\fR = \fI"OnlyLeft"\fR | \fI"OnlyRight"\fR | \fI"Both"\fR | \fI"None"\fR # \fI(macos only)\fR .PP .RS 4 Make \fIOption\fR key behave as \fIAlt\fR.\& .PP Default: \fI"None"\fR .PP .RE Example: .RS 4 \fB[window]\fR .br padding = { x = \fI3\fR, y = \fI3\fR } .br dynamic_padding = \fItrue\fR .br opacity = \fI0.\&9\fR .PP .PP .RE .SH SCROLLING .PP This section documents the \fB[scrolling]\fR table of the configuration file.\& .PP \fBhistory\fR = \fI\fR .PP .RS 4 Maximum number of lines in the scrollback buffer.\& .br Specifying \fI0\fR will disable scrolling.\& .br Limited to \fI100000\fR.\& .PP Default: \fI10000\fR .PP .RE \fBmultiplier\fR = \fI\fR .PP .RS 4 Number of line scrolled for every input scroll increment.\& .PP Default: \fI3\fR .PP .RE .SH FONT .PP This section documents the \fB[font]\fR table of the configuration file.\& .PP \fBnormal\fR = { family = \fI""\fR, style = \fI""\fR } .PP .RS 4 Default: .RS 4 Linux/BSD: { family = \fI"monospace"\fR, style = \fI"Regular"\fR } .br Windows: { family = \fI"Consolas"\fR, style = \fI"Regular"\fR } .br macOS: { family = \fI"Menlo"\fR, style = \fI"Regular"\fR } .PP .RE .RE \fBbold\fR = { family = \fI""\fR, style = \fI""\fR } .PP .RS 4 If the family is not specified, it will fall back to the value specified for the normal font.\& .PP Default: { style = \fI"Bold"\fR } .PP .RE \fBitalic\fR = { family = \fI""\fR, style = \fI""\fR } .PP .RS 4 If the family is not specified, it will fall back to the value specified for the normal font.\& .PP Default: { style = \fI"Italic"\fR } .PP .RE \fBbold_italic\fR = { family = \fI""\fR, style = \fI""\fR } .PP .RS 4 If the family is not specified, it will fall back to the value specified for the normal font.\& .PP Default: { style = \fI"Bold Italic"\fR } .PP .RE \fBsize\fR = \fI\fR .PP .RS 4 Font size in points.\& .PP Default: \fI11.\&25\fR .PP .RE \fBoffset\fR = { x = \fI\fR, y = \fI\fR } .PP .RS 4 Offset is the extra space around each character.\& \fIy\fR can be thought of as modifying the line spacing, and \fIx\fR as modifying the letter spacing.\& .PP Default: { x = \fI0\fR, y = \fI0\fR } .PP .RE \fBglyph_offset\fR = { x = \fI\fR, y = \fI\fR } .PP .RS 4 Glyph offset determines the locations of the glyphs within their cells with the default being at the bottom.\& Increasing \fIx\fR moves the glyph to the right, increasing \fIy\fR moves the glyph upward.\& .PP .RE \fBbuiltin_box_drawing\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 When \fItrue\fR, Alacritty will use a custom built-in font for box drawing characters (Unicode points \fIU+2500\fR - \fIU+259F\fR), legacy computing symbols (\fIU+1FB00\fR - \fIU+1FB3B\fR), and powerline symbols (\fIU+E0B0\fR - \fIU+E0B3\fR).\& .PP Default: \fItrue\fR .PP .RE .SH COLORS .PP This section documents the \fB[colors]\fR table of the configuration file.\& .PP Colors are specified using their hexadecimal values with a \fI#\fR prefix: \fI#RRGGBB\fR.\& .PP \fBprimary\fR .PP .RS 4 This section documents the \fB[colors.\&primary]\fR table of the configuration file.\& .PP \fBforeground\fR = \fI""\fR .PP .RS 4 Default: \fI"#d8d8d8"\fR .PP .RE \fBbackground\fR = \fI""\fR .PP .RS 4 Default: \fI"#181818"\fR .PP .RE \fBdim_foreground\fR = \fI""\fR .PP .RS 4 If this is not set, the color is automatically calculated based on the foreground color.\& .PP Default: \fI"#828482"\fR .PP .RE \fBbright_foreground\fR = \fI""\fR .PP .RS 4 This color is only used when \fIdraw_bold_text_with_bright_colors\fR is \fItrue\fR.\& .PP If this is not set, the normal foreground will be used.\& .PP Default: \fI"None"\fR .PP .RE .RE \fBcursor\fR = { text = \fI""\fR, cursor = \fI""\fR } .PP .RS 4 Colors which should be used to draw the terminal cursor.\& .PP Allowed values are hexadecimal colors like \fI#ff00ff\fR, or \fICellForeground\fR/\fICellBackground\fR, which references the affected cell.\& .PP Default: { text = \fI"CellBackground"\fR, cursor = \fI"CellForeground"\fR } .PP .RE \fBvi_mode_cursor\fR = { text = \fI""\fR, cursor = \fI""\fR } .PP .RS 4 Colors for the cursor when the vi mode is active.\& .PP Allowed values are hexadecimal colors like \fI#ff00ff\fR, or \fICellForeground\fR/\fICellBackground\fR, which references the affected cell.\& .PP Default: { text = \fI"CellBackground"\fR, cursor = \fI"CellForeground"\fR } .PP .RE \fBsearch\fR .PP .RS 4 This section documents the \fB[colors.\&search]\fR table of the configuration.\& .PP Allowed values are hexadecimal colors like \fI#ff00ff\fR, or \fICellForeground\fR/\fICellBackground\fR, which references the affected cell.\& .PP \fBmatches\fR = { foreground = \fI""\fR, background = \fI""\fR } .PP .RS 4 Default: { foreground = \fI"#181818"\fR, background = \fI"#ac4242"\fR } .PP .RE \fBfocused_match\fR = { foreground = \fI""\fR, background = \fI""\fR } .PP .RS 4 Default: { foreground = \fI"#181818"\fR, background = \fI"#f4bf75"\fR } .PP .RE .RE \fBhints\fR .PP .RS 4 This section documents the \fB[colors.\&hints]\fR table of the configuration.\& .PP \fBstart\fR = { foreground = \fI""\fR, background = \fI""\fR } .PP .RS 4 First character in the hint label.\& .PP Allowed values are hexadecimal colors like \fI#ff00ff\fR, or \fICellForeground\fR/\fICellBackground\fR, which references the affected cell.\& .PP Default: { foreground = \fI"#181818"\fR, background = \fI"#f4bf75"\fR } .PP .RE \fBend\fR = { foreground = \fI""\fR, background = \fI""\fR } .PP .RS 4 All characters after the first one in the hint label.\& .PP Allowed values are hexadecimal colors like \fI#ff00ff\fR, or \fICellForeground\fR/\fICellBackground\fR, which references the affected cell.\& .PP Default: { foreground = \fI"#181818"\fR, background = \fI"#ac4242"\fR } .PP .RE .RE \fBline_indicator\fR = { foreground = \fI""\fR, background = \fI""\fR } .PP .RS 4 Color used for the indicator displaying the position in history during search and vi mode.\& .PP Setting this to \fI"None"\fR will use the opposing primary color.\& .PP Default: { foreground = \fI"None"\fR, background = \fI"None"\fR } .PP .RE \fBfooter_bar\fR = { foreground = \fI""\fR, background = \fI""\fR } .PP .RS 4 Color used for the footer bar on the bottom, used by search regex input, hyperlink URI preview, etc.\& .PP Default: { foreground = \fI"#181818"\fR, background = \fI"#d8d8d8"\fR } .PP .RE \fBselection\fR = { text = \fI""\fR, background = \fI""\fR } .PP .RS 4 Colors used for drawing selections.\& .PP Allowed values are hexadecimal colors like \fI#ff00ff\fR, or \fICellForeground\fR/\fICellBackground\fR, which references the affected cell.\& .PP Default: { text = \fI"CellBackground"\fR, background = \fI"CellForeground"\fR } .PP .RE \fBnormal\fR .PP .RS 4 This section documents the \fB[colors.\&normal]\fR table of the configuration.\& .PP \fBblack\fR = \fI""\fR .RS 4 Default: \fI"#181818"\fR .RE \fBred\fR = \fI""\fR .RS 4 Default: \fI"#ac4242"\fR .RE \fBgreen\fR = \fI""\fR .RS 4 Default: \fI"#90a959"\fR .RE \fByellow\fR = \fI""\fR .RS 4 Default: \fI"#f4bf75"\fR .RE \fBblue\fR = \fI""\fR .RS 4 Default: \fI"#6a9fb5"\fR .RE \fBmagenta\fR = \fI""\fR .RS 4 Default: \fI"#aa759f"\fR .RE \fBcyan\fR = \fI""\fR .RS 4 Default: \fI"#75b5aa"\fR .RE \fBwhite\fR = \fI""\fR .RS 4 Default: \fI"#d8d8d8"\fR .PP .RE .RE \fBbright\fR .PP .RS 4 This section documents the \fB[colors.\&bright]\fR table of the configuration.\& .PP \fBblack\fR = \fI""\fR .RS 4 Default: \fI"#6b6b6b"\fR .RE \fBred\fR = \fI""\fR .RS 4 Default: \fI"#c55555"\fR .RE \fBgreen\fR = \fI""\fR .RS 4 Default: \fI"#aac474"\fR .RE \fByellow\fR = \fI""\fR .RS 4 Default: \fI"#feca88"\fR .RE \fBblue\fR = \fI""\fR .RS 4 Default: \fI"#82b8c8"\fR .RE \fBmagenta\fR = \fI""\fR .RS 4 Default: \fI"#c28cb8"\fR .RE \fBcyan\fR = \fI""\fR .RS 4 Default: \fI"#93d3c3"\fR .RE \fBwhite\fR = \fI""\fR .RS 4 Default: \fI"#f8f8f8"\fR .PP .RE .RE \fBdim\fR .PP .RS 4 This section documents the \fB[colors.\&dim]\fR table of the configuration.\& .PP If the dim colors are not set, they will be calculated automatically based on the \fInormal\fR colors.\& .PP \fBblack\fR = \fI""\fR .RS 4 Default: \fI"#0f0f0f"\fR .RE \fBred\fR = \fI""\fR .RS 4 Default: \fI"#712b2b"\fR .RE \fBgreen\fR = \fI""\fR .RS 4 Default: \fI"#5f6f3a"\fR .RE \fByellow\fR = \fI""\fR .RS 4 Default: \fI"#a17e4d"\fR .RE \fBblue\fR = \fI""\fR .RS 4 Default: \fI"#456877"\fR .RE \fBmagenta\fR = \fI""\fR .RS 4 Default: \fI"#704d68"\fR .RE \fBcyan\fR = \fI""\fR .RS 4 Default: \fI"#4d7770"\fR .RE \fBwhite\fR = \fI""\fR .RS 4 Default: \fI"#8e8e8e"\fR .PP .RE .RE \fBindexed_colors\fR = [{ index = \fI\fR, color = \fI""\fR },] .PP .RS 4 The indexed colors include all colors from 16 to 256.\& When these are not set, they'\&re filled with sensible defaults.\& .PP Default: \fI[]\fR .PP .RE \fBtransparent_background_colors\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 Whether or not \fIwindow.\&opacity\fR applies to all cell backgrounds, or only to the default background.\& When set to \fItrue\fR all cells will be transparent regardless of their background color.\& .PP Default: \fIfalse\fR .PP .RE \fBdraw_bold_text_with_bright_colors\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 When \fItrue\fR, bold text is drawn using the bright color variants.\& .PP Default: \fIfalse\fR .PP .RE .SH BELL .PP This section documents the \fB[bell]\fR table of the configuration file.\& .PP \fBanimation\fR = \fI"Ease"\fR | \fI"EaseOut"\fR | \fI"EaseOutSine"\fR | \fI"EaseOutQuad"\fR | \fI"EaseOutCubic"\fR | \fI"EaseOutQuart"\fR | \fI"EaseOutQuint"\fR | \fI"EaseOutExpo"\fR | \fI"EaseOutCirc"\fR | \fI"Linear"\fR .PP .RS 4 Visual bell animation effect for flashing the screen when the visual bell is rung.\& .PP Default: \fI"Linear"\fR .PP .RE \fBduration\fR = \fI\fR .PP .RS 4 Duration of the visual bell flash in milliseconds.\& A `duration` of `0` will disable the visual bell animation.\& .PP Default: \fI0\fR .PP .RE \fBcolor\fR = \fI""\fR .PP .RS 4 Visual bell animation color.\& .PP Default: \fI"#ffffff"\fR .PP .RE \fBcommand\fR = \fI""\fR | { program = \fI""\fR, args = [\fI""\fR,] } .PP .RS 4 This program is executed whenever the bell is rung.\& .PP When set to \fI"None"\fR, no command will be executed.\& .PP Default: \fI"None"\fR .PP .RE .SH SELECTION .PP This section documents the \fB[selection]\fR table of the configuration file.\& .PP \fBsemantic_escape_chars\fR = \fI""\fR .PP .RS 4 This string contains all characters that are used as separators for "semantic words" in Alacritty.\& .PP Default: \fI",│`|:\e"'\& ()[]{}<>\et"\fR .PP .RE \fBsave_to_clipboard\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 When set to \fItrue\fR, selected text will be copied to the primary clipboard.\& .PP Default: \fIfalse\fR .PP .RE .SH CURSOR .PP This section documents the \fB[cursor]\fR table of the configuration file.\& .PP \fBstyle\fR = { \fB\fR, \fB\fR } .PP .RS 4 \fBshape\fR = \fI"Block"\fR | \fI"Underline"\fR | \fI"Beam"\fR .PP .RS 4 Default: \fI"Block"\fR .PP .RE \fBblinking\fR = \fI"Never"\fR | \fI"Off"\fR | \fI"On"\fR | \fI"Always"\fR .PP .RS 4 \fBNever\fR .RS 4 Prevent the cursor from ever blinking .RE \fBOff\fR .RS 4 Disable blinking by default .RE \fBOn\fR .RS 4 Enable blinking by default .RE \fBAlways\fR .RS 4 Force the cursor to always blink .PP .RE Default: \fI"Off"\fR .PP .RE .RE \fBvi_mode_style\fR = { \fB\fR, \fB\fR } | \fI"None"\fR .PP .RS 4 If the vi mode cursor style is \fI"None"\fR or not specified, it will fall back to the active value of the normal cursor.\& .PP Default: \fI"None"\fR .PP .RE \fBblink_interval\fR = \fI\fR .PP .RS 4 Cursor blinking interval in milliseconds.\& .PP Default: \fI750\fR .PP .RE \fBblink_timeout\fR = \fI\fR .PP .RS 4 Time after which cursor stops blinking, in seconds.\& .PP Specifying \fI0\fR will disable timeout for blinking.\& .PP Default: \fI5\fR .PP .RE \fBunfocused_hollow\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 When this is \fItrue\fR, the cursor will be rendered as a hollow box when the window is not focused.\& .PP Default: \fItrue\fR .PP .RE \fBthickness\fR = \fI\fR .PP .RS 4 Thickness of the cursor relative to the cell width as floating point number from \fI0.\&0\fR to \fI1.\&0\fR.\& .PP Default: \fI0.\&15\fR .PP .RE .SH TERMINAL .PP This section documents the \fB[terminal]\fR table of the configuration file.\& .PP \fBosc52\fR = \fI"Disabled"\fR | \fI"OnlyCopy"\fR | \fI"OnlyPaste"\fR | \fI"CopyPaste"\fR .PP .RS 4 Controls the ability to write to the system clipboard with the \fIOSC 52\fR escape sequence.\& While this escape sequence is useful to copy contents from the remote server, allowing any application to read from the clipboard can be easily abused while not providing significant benefits over explicitly pasting text.\& .PP Default: \fI"OnlyCopy"\fR .PP .RE .SH MOUSE .PP This section documents the \fB[mouse]\fR table of the configuration file.\& .PP \fBhide_when_typing\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 When this is \fItrue\fR, the cursor is temporarily hidden when typing.\& .PP Default: \fIfalse\fR .PP .RE \fBbindings\fR = [{ \fB\fR, \fB\fR, \fB\fR, \fB\fR | \fB\fR | \fB\fR },] .PP .RS 4 See \fIkeyboard.\&bindings\fR for full documentation on \fImods\fR, \fImode\fR, \fIcommand\fR, \fIchars\fR, and \fIaction\fR.\& .PP When an application running within Alacritty captures the mouse, the `Shift` modifier can be used to suppress mouse reporting.\& If no action is found for the event, actions for the event without the `Shift` modifier are triggered instead.\& .PP \fBmouse\fR = \fI"Middle"\fR | \fI"Left"\fR | \fI"Right"\fR | \fI"Back"\fR | \fI"Forward"\fR | \fI\fR .PP .RS 4 Mouse button which needs to be pressed to trigger this binding.\& .PP .RE \fBaction\fR = \fB\fR | \fI"ExpandSelection"\fR .PP .RS 4 \fBExpandSelection\fR .RS 4 Expand the selection to the current mouse cursor location.\& .PP .RE .RE Example: .RS 4 \fB[mouse]\fR .br bindings = [ .br { mouse = \fI"Right"\fR, mods = \fI"Control"\fR, action = \fI"Paste"\fR }, .br ] .PP .RE .RE .SH HINTS .PP This section documents the \fB[hints]\fR table of the configuration file.\& .PP Terminal hints can be used to find text or hyperlinks in the visible part of the terminal and pipe it to other applications.\& .PP \fBalphabet\fR = \fI""\fR .PP .RS 4 Keys used for the hint labels.\& .PP Default: \fI"jfkdls;ahgurieowpq"\fR .PP .RE \fBenabled\fR = [{ \fB\fR, \fB\fR, \fB\fR, \fB\fR, \fB\fR, \fB\fR \fB\fR, \fB\fR },] .PP Array with all available hints.\& .PP Each hint must have at least one of \fIregex\fR or \fIhyperlinks\fR and either an \fIaction\fR or a \fIcommand\fR.\& .PP .RS 4 \fBregex\fR = \fI""\fR .PP .RS 4 Regex each line will be compared against.\& .PP .RE \fBhyperlinks\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 When this is \fItrue\fR, all OSC 8 escape sequence hyperlinks will be included in the hints.\& .PP .RE \fBpost_processing\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 When this is \fItrue\fR, heuristics will be used to shorten the match if there are characters likely not to be part of the hint (e.\&g.\& a trailing \fI.\&\fR).\& This is most useful for URIs and applies only to \fIregex\fR matches.\& .PP .RE \fBpersist\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 When this is \fItrue\fR, hints remain persistent after selection.\& .PP .RE \fBaction\fR = \fI"Copy"\fR | \fI"Paste"\fR | \fI"Select"\fR | \fI"MoveViModeCursor"\fR .PP .RS 4 \fBCopy\fR .RS 4 Copy the hint'\&s text to the clipboard.\& .RE \fBPaste\fR .RS 4 Paste the hint'\&s text to the terminal or search.\& .RE \fBSelect\fR .RS 4 Select the hint'\&s text.\& .RE \fBMoveViModeCursor\fR .RS 4 Move the vi mode cursor to the beginning of the hint.\& .PP .RE .RE \fBcommand\fR = \fI""\fR | { program = \fI""\fR, args = [\fI""\fR,] } .PP .RS 4 Command which will be executed when the hint is clicked or selected with the \fIbinding\fR.\& .PP The hint'\&s text is always attached as the last argument.\& .PP .RE \fBbinding\fR = { key = \fI""\fR, mods = \fI""\fR, mode = \fI""\fR } .PP .RS 4 See \fIkeyboard.\&bindings\fR for documentation on available values.\& .PP This controls which key binding is used to start the keyboard hint selection process.\& .PP .RE \fBmouse\fR = { mods = \fI""\fR, enabled = \fItrue\fR | \fIfalse\fR } .PP .RS 4 See \fIkeyboard.\&bindings\fR for documentation on available \fImods\fR.\& .PP The \fIenabled\fR field controls if the hint should be underlined when hovering over the hint text with all \fImods\fR pressed.\& .PP .RE Default: .RS 4 \fB[[hints.\&enabled]]\fR .br command = \fI"xdg-open"\fR # On Linux/BSD .br # command = \fI"open"\fR # On macOS .br # command = { program = \fI"cmd"\fR, args = [ \fI"/c"\fR, \fI"start"\fR, \fI""\fR ] } # On Windows .br hyperlinks = \fItrue\fR .br post_processing = \fItrue\fR .br persist = \fIfalse\fR .br mouse.\&enabled = \fItrue\fR .br binding = { key = \fI"U"\fR, mods = \fI"Control|Shift"\fR } .br regex = \fI"(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\eu0000-\eu001F\eu007F-\eu009F<>\e"\e\es{-}\e\e^⟨⟩`]+"\fR .PP .RE .RE .SH KEYBOARD .PP This section documents the \fB[keyboard]\fR table of the configuration file.\& .PP \fBbindings\fR = [{ \fB\fR, \fB\fR, \fB\fR, \fB\fR | \fB\fR | \fB\fR },] .PP .RS 4 To unset a default binding, you can use the action \fI"ReceiveChar"\fR to remove it or \fI"None"\fR to inhibit any action.\& .PP Multiple keybindings can be triggered by a single key press and will be executed in the order they are defined in.\& .PP \fBkey\fR = \fI""\fR .PP .RS 4 The regular keys like \fI"A"\fR, \fI"0"\fR, and \fI"Я"\fR can be mapped directly without any special syntax.\& Full list of named keys like \fI"F1"\fR and the syntax for dead keys can be found here: .PP \fIhttps://docs.\&rs/winit/latest/winit/keyboard/enum.\&NamedKey.\&html\fR .br \fIhttps://docs.\&rs/winit/latest/winit/keyboard/enum.\&Key.\&html#variant.\&Dead\fR .PP Numpad keys are prefixed by \fINumpad\fR: \fI"NumpadEnter"\fR | \fI"NumpadAdd"\fR | \fI"NumpadComma"\fR | \fI"NumpadDecimal"\fR | \fI"NumpadDivide"\fR | \fI"NumpadEquals"\fR | \fI"NumpadSubtract"\fR | \fI"NumpadMultiply"\fR | \fI"Numpad[0-9]"\fR.\& .PP The \fIkey\fR field also supports using scancodes, which are specified as a decimal number.\& .PP .RE \fBmods\fR = \fI"Command"\fR | \fI"Control"\fR | \fI"Option"\fR | \fI"Super"\fR | \fI"Shift"\fR | \fI"Alt"\fR .PP .RS 4 Multiple modifiers can be combined using \fI|\fR, like this: \fI"Control | Shift"\fR.\& .PP .RE \fBmode\fR = \fI"AppCursor"\fR | \fI"AppKeypad"\fR | \fI"Search"\fR | \fI"Alt"\fR | \fI"Vi"\fR .PP .RS 4 This defines a terminal mode which must be active for this binding to have an effect.\& .PP Prepending \fI~\fR to a mode will require the mode to \fBnot\fR = be active for the binding to take effect.\& .PP Multiple modes can be combined using \fI|\fR, like this: \fI"~Vi|Search"\fR.\& .PP .RE \fBcommand\fR = \fI""\fR | { program = \fI""\fR, args = [\fI""\fR,] } .PP .RS 4 Fork and execute the specified command.\& .PP .RE \fBchars\fR = \fI""\fR .PP .RS 4 Writes the specified string to the terminal.\& .PP .RE \fBaction\fR .PP .RS 4 \fBReceiveChar\fR .RS 4 Allow receiving char input.\& .RE \fBNone\fR .RS 4 No action.\& .RE \fBPaste\fR .RS 4 Paste contents of system clipboard.\& .RE \fBCopy\fR .RS 4 Store current selection into clipboard.\& .RE \fBIncreaseFontSize\fR .RS 4 Increase font size.\& .RE \fBDecreaseFontSize\fR .RS 4 Decrease font size.\& .RE \fBResetFontSize\fR .RS 4 Reset font size to the config value.\& .RE \fBScrollPageUp\fR .RS 4 Scroll exactly one page up.\& .RE \fBScrollPageDown\fR .RS 4 Scroll exactly one page down.\& .RE \fBScrollHalfPageUp\fR .RS 4 Scroll half a page up.\& .RE \fBScrollHalfPageDown\fR .RS 4 Scroll half a page down.\& .RE \fBScrollLineUp\fR .RS 4 Scroll one line up.\& .RE \fBScrollLineDown\fR .RS 4 Scroll one line down.\& .RE \fBScrollToTop\fR .RS 4 Scroll all the way to the top.\& .RE \fBScrollToBottom\fR .RS 4 Scroll all the way to the bottom.\& .RE \fBClearHistory\fR .RS 4 Clear the display buffer(s) to remove history.\& .RE \fBHide\fR .RS 4 Hide the Alacritty window.\& .RE \fBMinimize\fR .RS 4 Minimize the Alacritty window.\& .RE \fBQuit\fR .RS 4 Quit Alacritty.\& .RE \fBClearLogNotice\fR .RS 4 Clear warning and error notices.\& .RE \fBSpawnNewInstance\fR .RS 4 Spawn a new instance of Alacritty.\& .RE \fBCreateNewWindow\fR .RS 4 Create a new Alacritty window.\& .RE \fBToggleFullscreen\fR .RS 4 Toggle fullscreen.\& .RE \fBToggleMaximized\fR .RS 4 Toggle maximized.\& .RE \fBClearSelection\fR .RS 4 Clear active selection.\& .RE \fBToggleViMode\fR .RS 4 Toggle vi mode.\& .RE \fBSearchForward\fR .RS 4 Start a forward buffer search.\& .RE \fBSearchBackward\fR .RS 4 Start a backward buffer search.\& .PP .RE \fIVi mode actions:\fR .PP \fBUp\fR .RS 4 Move up.\& .RE \fBDown\fR .RS 4 Move down.\& .RE \fBLeft\fR .RS 4 Move left.\& .RE \fBRight\fR .RS 4 Move right.\& .RE \fBFirst\fR .RS 4 First column, or beginning of the line when already at the first column.\& .RE \fBLast\fR .RS 4 Last column, or beginning of the line when already at the last column.\& .RE \fBFirstOccupied\fR .RS 4 First non-empty cell in this terminal row, or first non-empty cell of the line when already at the first cell of the row.\& .RE \fBHigh\fR .RS 4 Move to top of screen.\& .RE \fBMiddle\fR .RS 4 Move to center of screen.\& .RE \fBLow\fR .RS 4 Move to bottom of screen.\& .RE \fBSemanticLeft\fR .RS 4 Move to start of semantically separated word.\& .RE \fBSemanticRight\fR .RS 4 Move to start of next semantically separated word.\& .RE \fBSemanticLeftEnd\fR .RS 4 Move to end of previous semantically separated word.\& .RE \fBSemanticRightEnd\fR .RS 4 Move to end of semantically separated word.\& .RE \fBWordLeft\fR .RS 4 Move to start of whitespace separated word.\& .RE \fBWordRight\fR .RS 4 Move to start of next whitespace separated word.\& .RE \fBWordLeftEnd\fR .RS 4 Move to end of previous whitespace separated word.\& .RE \fBWordRightEnd\fR .RS 4 Move to end of whitespace separated word.\& .RE \fBBracket\fR .RS 4 Move to opposing bracket.\& .RE \fBToggleNormalSelection\fR .RS 4 Toggle normal vi selection.\& .RE \fBToggleLineSelection\fR .RS 4 Toggle line vi selection.\& .RE \fBToggleBlockSelection\fR .RS 4 Toggle block vi selection.\& .RE \fBToggleSemanticSelection\fR .RS 4 Toggle semantic vi selection.\& .RE \fBSearchNext\fR .RS 4 Jump to the beginning of the next match.\& .RE \fBSearchPrevious\fR .RS 4 Jump to the beginning of the previous match.\& .RE \fBSearchStart\fR .RS 4 Jump to the next start of a match to the left of the origin.\& .RE \fBSearchEnd\fR .RS 4 Jump to the next end of a match to the right of the origin.\& .RE \fBOpen\fR .RS 4 Launch the URL below the vi mode cursor.\& .RE \fBCenterAroundViCursor\fR .RS 4 Centers the screen around the vi mode cursor.\& .RE \fBInlineSearchForward\fR .RS 4 Search forward within the current line.\& .RE \fBInlineSearchBackward\fR .RS 4 Search backward within the current line.\& .RE \fBInlineSearchForwardShort\fR .RS 4 Search forward within the current line, stopping just short of the character.\& .RE \fBInlineSearchBackwardShort\fR .RS 4 Search backward within the current line, stopping just short of the character.\& .RE \fBInlineSearchNext\fR .RS 4 Jump to the next inline search match.\& .RE \fBInlineSearchPrevious\fR .RS 4 Jump to the previous inline search match.\& .PP .RE \fISearch actions:\fR .PP \fBSearchFocusNext\fR .RS 4 Move the focus to the next search match.\& .RE \fBSearchFocusPrevious\fR .RS 4 Move the focus to the previous search match.\& .RE \fBSearchConfirm\fR .RS 4 Confirm the active search.\& .RE \fBSearchCancel\fR .RS 4 Cancel the active search.\& .RE \fBSearchClear\fR .RS 4 Reset the search regex.\& .RE \fBSearchDeleteWord\fR .RS 4 Delete the last word in the search regex.\& .RE \fBSearchHistoryPrevious\fR .RS 4 Go to the previous regex in the search history.\& .RE \fBSearchHistoryNext\fR .RS 4 Go to the next regex in the search history.\& .PP .RE \fImacOS exclusive:\fR .PP \fBToggleSimpleFullscreen\fR .RS 4 Enter fullscreen without occupying another space.\& .RE \fBHideOtherApplications\fR .RS 4 Hide all windows other than Alacritty.\& .RE \fBCreateNewTab\fR .RS 4 Create new window in a tab.\& .RE \fBSelectNextTab\fR .RS 4 Select next tab.\& .RE \fBSelectPreviousTab\fR .RS 4 Select previous tab.\& .RE \fBSelectTab1\fR .RS 4 Select the first tab.\& .RE \fBSelectTab2\fR .RS 4 Select the second tab.\& .RE \fBSelectTab3\fR .RS 4 Select the third tab.\& .RE \fBSelectTab4\fR .RS 4 Select the fourth tab.\& .RE \fBSelectTab5\fR .RS 4 Select the fifth tab.\& .RE \fBSelectTab6\fR .RS 4 Select the sixth tab.\& .RE \fBSelectTab7\fR .RS 4 Select the seventh tab.\& .RE \fBSelectTab8\fR .RS 4 Select the eighth tab.\& .RE \fBSelectTab9\fR .RS 4 Select the ninth tab.\& .RE \fBSelectLastTab\fR .RS 4 Select the last tab.\& .PP .RE \fILinux/BSD exclusive:\fR .PP \fBCopySelection\fR .RS 4 Copy from the selection buffer.\& .RE \fBPasteSelection\fR .RS 4 Paste from the selection buffer.\& .PP .RE .RE .RE Default: See \fBalacritty-bindings\fR(5) .PP Example: .RS 4 \fB[keyboard]\fR .br bindings = [ .br { key = \fI"N"\fR, mods = \fI"Control|Shift"\fR, action = \fI"CreateNewWindow"\fR }, .br { key = \fI"L"\fR, mods = \fI"Control|Shift"\fR, chars = \fI"l"\fR }, .br ] .PP .PP .RE .SH DEBUG .PP This section documents the \fB[debug]\fR table of the configuration file.\& .PP Debug options are meant to help troubleshoot issues with Alacritty.\& These can change or be removed entirely without warning, so their stability shouldn'\&t be relied upon.\& .PP \fBrender_timer\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 Display the time it takes to draw each frame.\& .PP Default: \fIfalse\fR .PP .RE \fBpersistent_logging\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 Keep the log file after quitting Alacritty.\& .PP Default: \fIfalse\fR .PP .RE \fBlog_level\fR = \fI"Off"\fR | \fI"Error"\fR | \fI"Warn"\fR | \fI"Info"\fR | \fI"Debug"\fR | \fI"Trace"\fR .PP .RS 4 Default: \fI"Warn"\fR .PP To add extra libraries to logging \fIALACRITTY_EXTRA_LOG_TARGETS\fR variable can be used.\& .PP Example: .RS 4 \fIALACRITTY_EXTRA_LOG_TARGETS="winit;vte" alacritty -vvv\fR .PP .RE .RE \fBrenderer\fR = \fI"glsl3"\fR | \fI"gles2"\fR | \fI"gles2pure"\fR | \fI"None"\fR .PP .RS 4 Force use of a specific renderer, \fI"None"\fR will use the highest available one.\& .PP Default: \fI"None"\fR .PP .RE \fBprint_events\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 Log all received window events.\& .PP Default: \fIfalse\fR .PP .RE \fBhighlight_damage\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 Highlight window damage information.\& .PP Default: \fIfalse\fR .PP .RE \fBprefer_egl\fR = \fItrue\fR | \fIfalse\fR .PP .RS 4 Use EGL as display API if the current platform allows it.\& Note that transparency may not work with EGL on Linux/BSD.\& .PP Default: \fIfalse\fR .PP .RE .SH SEE ALSO .PP \fBalacritty\fR(1), \fBalacritty-msg\fR(1), \fBalacritty-bindings\fR(5) .PP .SH BUGS .PP Found a bug?\& Please report it at \fIhttps://github.\&com/alacritty/alacritty/issues\fR.\& .PP .SH MAINTAINERS .PP .PD 0 .IP \(bu 4 Christian Duerr .IP \(bu 4 Kirill Chibisov