···11+# Configuration for Alacritty, the GPU enhanced terminal emulator.
22+33+# Import additional configuration files
44+#
55+# Imports are loaded in order, skipping all missing files, with the importing
66+# file being loaded last. If a field is already present in a previous import, it
77+# will be replaced.
88+#
99+# All imports must either be absolute paths starting with `/`, or paths relative
1010+# to the user's home directory starting with `~/`.
1111+#import:
1212+# - /path/to/alacritty.yml
1313+1414+# Any items in the `env` entry below will be added as
1515+# environment variables. Some entries may override variables
1616+# set by alacritty itself.
1717+#env:
1818+ # TERM variable
1919+ #
2020+ # This value is used to set the `$TERM` environment variable for
2121+ # each instance of Alacritty. If it is not present, alacritty will
2222+ # check the local terminfo database and use `alacritty` if it is
2323+ # available, otherwise `xterm-256color` is used.
2424+ #TERM: alacritty
2525+2626+#window:
2727+ # Window dimensions (changes require restart)
2828+ #
2929+ # Number of lines/columns (not pixels) in the terminal. Both lines and columns
3030+ # must be non-zero for this to take effect. The number of columns must be at
3131+ # least `2`, while using a value of `0` for columns and lines will fall back
3232+ # to the window manager's recommended size
3333+ #dimensions:
3434+ # columns: 0
3535+ # lines: 0
3636+3737+ # Window position (changes require restart)
3838+ #
3939+ # Specified in number of pixels.
4040+ # If the position is not set, the window manager will handle the placement.
4141+ #position:
4242+ # x: 0
4343+ # y: 0
4444+4545+ # Window padding (changes require restart)
4646+ #
4747+ # Blank space added around the window in pixels. This padding is scaled
4848+ # by DPI and the specified value is always added at both opposing sides.
4949+ #padding:
5050+ # x: 0
5151+ # y: 0
5252+5353+ # Spread additional padding evenly around the terminal content.
5454+ #dynamic_padding: false
5555+5656+ # Window decorations
5757+ #
5858+ # Values for `decorations`:
5959+ # - full: Borders and title bar
6060+ # - none: Neither borders nor title bar
6161+ #
6262+ # Values for `decorations` (macOS only):
6363+ # - transparent: Title bar, transparent background and title bar buttons
6464+ # - buttonless: Title bar, transparent background and no title bar buttons
6565+ #decorations: full
6666+6767+ # Background opacity
6868+ #
6969+ # Window opacity as a floating point number from `0.0` to `1.0`.
7070+ # The value `0.0` is completely transparent and `1.0` is opaque.
7171+ #opacity: 1.0
7272+7373+ # Startup Mode (changes require restart)
7474+ #
7575+ # Values for `startup_mode`:
7676+ # - Windowed
7777+ # - Maximized
7878+ # - Fullscreen
7979+ #
8080+ # Values for `startup_mode` (macOS only):
8181+ # - SimpleFullscreen
8282+ #startup_mode: Windowed
8383+8484+ # Window title
8585+ #title: Alacritty
8686+8787+ # Allow terminal applications to change Alacritty's window title.
8888+ #dynamic_title: true
8989+9090+ # Window class (Linux/BSD only):
9191+ #class:
9292+ # Application instance name
9393+ #instance: Alacritty
9494+ # General application class
9595+ #general: Alacritty
9696+9797+ # Decorations theme variant (Linux/BSD only)
9898+ #
9999+ # Override the variant of the GTK theme/Wayland client side decorations.
100100+ # Commonly supported values are `dark` and `light`. Set this to `None` to use
101101+ # the default theme variant.
102102+ #decorations_theme_variant: None
103103+104104+#scrolling:
105105+ # Maximum number of lines in the scrollback buffer.
106106+ # Specifying '0' will disable scrolling.
107107+ #history: 10000
108108+109109+ # Scrolling distance multiplier.
110110+ #multiplier: 3
111111+112112+# Font configuration
113113+font:
114114+ # Normal (roman) font face
115115+ normal:
116116+ # Font family
117117+ #
118118+ # Default:
119119+ # - (macOS) Menlo
120120+ # - (Linux/BSD) monospace
121121+ # - (Windows) Consolas
122122+ family: Fira Code
123123+124124+ # The `style` can be specified to pick a specific face.
125125+ #style: Regular
126126+127127+ # Bold font face
128128+ #bold:
129129+ # Font family
130130+ #
131131+ # If the bold family is not specified, it will fall back to the
132132+ # value specified for the normal font.
133133+ #family: monospace
134134+135135+ # The `style` can be specified to pick a specific face.
136136+ #style: Bold
137137+138138+ # Italic font face
139139+ #italic:
140140+ # Font family
141141+ #
142142+ # If the italic family is not specified, it will fall back to the
143143+ # value specified for the normal font.
144144+ #family: monospace
145145+146146+ # The `style` can be specified to pick a specific face.
147147+ #style: Italic
148148+149149+ # Bold italic font face
150150+ #bold_italic:
151151+ # Font family
152152+ #
153153+ # If the bold italic family is not specified, it will fall back to the
154154+ # value specified for the normal font.
155155+ #family: monospace
156156+157157+ # The `style` can be specified to pick a specific face.
158158+ #style: Bold Italic
159159+160160+ # Point size
161161+ size: 16.0
162162+163163+ # Offset is the extra space around each character. `offset.y` can be thought
164164+ # of as modifying the line spacing, and `offset.x` as modifying the letter
165165+ # spacing.
166166+ #offset:
167167+ # x: 0
168168+ # y: 0
169169+170170+ # Glyph offset determines the locations of the glyphs within their cells with
171171+ # the default being at the bottom. Increasing `x` moves the glyph to the
172172+ # right, increasing `y` moves the glyph upward.
173173+ #glyph_offset:
174174+ # x: 0
175175+ # y: 0
176176+177177+ # Use built-in font for box drawing characters.
178178+ #
179179+ # If `true`, Alacritty will use a custom built-in font for box drawing
180180+ # characters (Unicode points 2500 - 259f).
181181+ #
182182+ #builtin_box_drawing: true
183183+184184+# If `true`, bold text is drawn using the bright color variants.
185185+#draw_bold_text_with_bright_colors: false
186186+187187+# Colors (Tomorrow Night)
188188+#colors:
189189+ # Default colors
190190+ #primary:
191191+ # background: '#1d1f21'
192192+ # foreground: '#c5c8c6'
193193+194194+ # Bright and dim foreground colors
195195+ #
196196+ # The dimmed foreground color is calculated automatically if it is not
197197+ # present. If the bright foreground color is not set, or
198198+ # `draw_bold_text_with_bright_colors` is `false`, the normal foreground
199199+ # color will be used.
200200+ #dim_foreground: '#828482'
201201+ #bright_foreground: '#eaeaea'
202202+203203+ # Cursor colors
204204+ #
205205+ # Colors which should be used to draw the terminal cursor.
206206+ #
207207+ # Allowed values are CellForeground/CellBackground, which reference the
208208+ # affected cell, or hexadecimal colors like #ff00ff.
209209+ #cursor:
210210+ # text: CellBackground
211211+ # cursor: CellForeground
212212+213213+ # Vi mode cursor colors
214214+ #
215215+ # Colors for the cursor when the vi mode is active.
216216+ #
217217+ # Allowed values are CellForeground/CellBackground, which reference the
218218+ # affected cell, or hexadecimal colors like #ff00ff.
219219+ #vi_mode_cursor:
220220+ # text: CellBackground
221221+ # cursor: CellForeground
222222+223223+ # Search colors
224224+ #
225225+ # Colors used for the search bar and match highlighting.
226226+ #search:
227227+ # Allowed values are CellForeground/CellBackground, which reference the
228228+ # affected cell, or hexadecimal colors like #ff00ff.
229229+ #matches:
230230+ # foreground: '#000000'
231231+ # background: '#ffffff'
232232+ #focused_match:
233233+ # foreground: '#ffffff'
234234+ # background: '#000000'
235235+236236+ # Keyboard hints
237237+ #hints:
238238+ # First character in the hint label
239239+ #
240240+ # Allowed values are CellForeground/CellBackground, which reference the
241241+ # affected cell, or hexadecimal colors like #ff00ff.
242242+ #start:
243243+ # foreground: '#1d1f21'
244244+ # background: '#e9ff5e'
245245+246246+ # All characters after the first one in the hint label
247247+ #
248248+ # Allowed values are CellForeground/CellBackground, which reference the
249249+ # affected cell, or hexadecimal colors like #ff00ff.
250250+ #end:
251251+ # foreground: '#e9ff5e'
252252+ # background: '#1d1f21'
253253+254254+ # Line indicator
255255+ #
256256+ # Color used for the indicator displaying the position in history during
257257+ # search and vi mode.
258258+ #
259259+ # By default, these will use the opposing primary color.
260260+ #line_indicator:
261261+ # foreground: None
262262+ # background: None
263263+264264+ # Footer bar
265265+ #
266266+ # Color used for the footer bar on the bottom, used by search regex input,
267267+ # hyperlink URI preview, etc.
268268+ #
269269+ #footer_bar:
270270+ # background: '#c5c8c6'
271271+ # foreground: '#1d1f21'
272272+273273+ # Selection colors
274274+ #
275275+ # Colors which should be used to draw the selection area.
276276+ #
277277+ # Allowed values are CellForeground/CellBackground, which reference the
278278+ # affected cell, or hexadecimal colors like #ff00ff.
279279+ #selection:
280280+ # text: CellBackground
281281+ # background: CellForeground
282282+283283+ # Normal colors
284284+ #normal:
285285+ # black: '#1d1f21'
286286+ # red: '#cc6666'
287287+ # green: '#b5bd68'
288288+ # yellow: '#f0c674'
289289+ # blue: '#81a2be'
290290+ # magenta: '#b294bb'
291291+ # cyan: '#8abeb7'
292292+ # white: '#c5c8c6'
293293+294294+ # Bright colors
295295+ #bright:
296296+ # black: '#666666'
297297+ # red: '#d54e53'
298298+ # green: '#b9ca4a'
299299+ # yellow: '#e7c547'
300300+ # blue: '#7aa6da'
301301+ # magenta: '#c397d8'
302302+ # cyan: '#70c0b1'
303303+ # white: '#eaeaea'
304304+305305+ # Dim colors
306306+ #
307307+ # If the dim colors are not set, they will be calculated automatically based
308308+ # on the `normal` colors.
309309+ #dim:
310310+ # black: '#131415'
311311+ # red: '#864343'
312312+ # green: '#777c44'
313313+ # yellow: '#9e824c'
314314+ # blue: '#556a7d'
315315+ # magenta: '#75617b'
316316+ # cyan: '#5b7d78'
317317+ # white: '#828482'
318318+319319+ # Indexed Colors
320320+ #
321321+ # The indexed colors include all colors from 16 to 256.
322322+ # When these are not set, they're filled with sensible defaults.
323323+ #
324324+ # Example:
325325+ # `- { index: 16, color: '#ff00ff' }`
326326+ #
327327+ #indexed_colors: []
328328+329329+ # Transparent cell backgrounds
330330+ #
331331+ # Whether or not `window.opacity` applies to all cell backgrounds or only to
332332+ # the default background. When set to `true` all cells will be transparent
333333+ # regardless of their background color.
334334+ #transparent_background_colors: false
335335+336336+# Bell
337337+#
338338+# The bell is rung every time the BEL control character is received.
339339+#bell:
340340+ # Visual Bell Animation
341341+ #
342342+ # Animation effect for flashing the screen when the visual bell is rung.
343343+ #
344344+ # Values for `animation`:
345345+ # - Ease
346346+ # - EaseOut
347347+ # - EaseOutSine
348348+ # - EaseOutQuad
349349+ # - EaseOutCubic
350350+ # - EaseOutQuart
351351+ # - EaseOutQuint
352352+ # - EaseOutExpo
353353+ # - EaseOutCirc
354354+ # - Linear
355355+ #animation: EaseOutExpo
356356+357357+ # Duration of the visual bell flash in milliseconds. A `duration` of `0` will
358358+ # disable the visual bell animation.
359359+ #duration: 0
360360+361361+ # Visual bell animation color.
362362+ #color: '#ffffff'
363363+364364+ # Bell Command
365365+ #
366366+ # This program is executed whenever the bell is rung.
367367+ #
368368+ # When set to `command: None`, no command will be executed.
369369+ #
370370+ # Example:
371371+ # command:
372372+ # program: notify-send
373373+ # args: ["Hello, World!"]
374374+ #
375375+ #command: None
376376+377377+#selection:
378378+ # This string contains all characters that are used as separators for
379379+ # "semantic words" in Alacritty.
380380+ #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
381381+382382+ # When set to `true`, selected text will be copied to the primary clipboard.
383383+ #save_to_clipboard: false
384384+385385+#cursor:
386386+ # Cursor style
387387+ #style:
388388+ # Cursor shape
389389+ #
390390+ # Values for `shape`:
391391+ # - ▇ Block
392392+ # - _ Underline
393393+ # - | Beam
394394+ #shape: Block
395395+396396+ # Cursor blinking state
397397+ #
398398+ # Values for `blinking`:
399399+ # - Never: Prevent the cursor from ever blinking
400400+ # - Off: Disable blinking by default
401401+ # - On: Enable blinking by default
402402+ # - Always: Force the cursor to always blink
403403+ #blinking: Off
404404+405405+ # Vi mode cursor style
406406+ #
407407+ # If the vi mode cursor style is `None` or not specified, it will fall back to
408408+ # the style of the active value of the normal cursor.
409409+ #
410410+ # See `cursor.style` for available options.
411411+ #vi_mode_style: None
412412+413413+ # Cursor blinking interval in milliseconds.
414414+ #blink_interval: 750
415415+416416+ # Time after which cursor stops blinking, in seconds.
417417+ #
418418+ # Specifying '0' will disable timeout for blinking.
419419+ #blink_timeout: 5
420420+421421+ # If this is `true`, the cursor will be rendered as a hollow box when the
422422+ # window is not focused.
423423+ #unfocused_hollow: true
424424+425425+ # Thickness of the cursor relative to the cell width as floating point number
426426+ # from `0.0` to `1.0`.
427427+ #thickness: 0.15
428428+429429+# Live config reload (changes require restart)
430430+#live_config_reload: true
431431+432432+# Shell
433433+#
434434+# You can set `shell.program` to the path of your favorite shell, e.g.
435435+# `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the
436436+# shell.
437437+#
438438+# Default:
439439+# - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset
440440+# - (Windows) powershell
441441+#shell:
442442+# program: /bin/bash
443443+# args:
444444+# - --login
445445+446446+# Startup directory
447447+#
448448+# Directory the shell is started in. If this is unset, or `None`, the working
449449+# directory of the parent process will be used.
450450+#working_directory: None
451451+452452+# Send ESC (\x1b) before characters when alt is pressed.
453453+#alt_send_esc: true
454454+455455+# Offer IPC using `alacritty msg` (unix only)
456456+#ipc_socket: true
457457+458458+#mouse:
459459+ # Click settings
460460+ #
461461+ # The `double_click` and `triple_click` settings control the time
462462+ # alacritty should wait for accepting multiple clicks as one double
463463+ # or triple click.
464464+ #double_click: { threshold: 300 }
465465+ #triple_click: { threshold: 300 }
466466+467467+ # If this is `true`, the cursor is temporarily hidden when typing.
468468+ #hide_when_typing: false
469469+470470+# Hints
471471+#
472472+# Terminal hints can be used to find text or hyperlink in the visible part of
473473+# the terminal and pipe it to other applications.
474474+#hints:
475475+ # Keys used for the hint labels.
476476+ #alphabet: "jfkdls;ahgurieowpq"
477477+478478+ # List with all available hints
479479+ #
480480+ # Each hint must have any of `regex` or `hyperlinks` field and either an
481481+ # `action` or a `command` field. The fields `mouse`, `binding` and
482482+ # `post_processing` are optional.
483483+ #
484484+ # The `hyperlinks` option will cause OSC 8 escape sequence hyperlinks to be
485485+ # highlighted.
486486+ #
487487+ # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
488488+ # `mouse.mods` accept the same values as they do in the `key_bindings` section.
489489+ #
490490+ # The `mouse.enabled` field controls if the hint should be underlined while
491491+ # the mouse with all `mouse.mods` keys held or the vi mode cursor is above it.
492492+ #
493493+ # If the `post_processing` field is set to `true`, heuristics will be used to
494494+ # shorten the match if there are characters likely not to be part of the hint
495495+ # (e.g. a trailing `.`). This is most useful for URIs and applies only to
496496+ # `regex` matches.
497497+ #
498498+ # Values for `action`:
499499+ # - Copy
500500+ # Copy the hint's text to the clipboard.
501501+ # - Paste
502502+ # Paste the hint's text to the terminal or search.
503503+ # - Select
504504+ # Select the hint's text.
505505+ # - MoveViModeCursor
506506+ # Move the vi mode cursor to the beginning of the hint.
507507+ #enabled:
508508+ # - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
509509+ # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
510510+ # hyperlinks: true
511511+ # command: xdg-open
512512+ # post_processing: true
513513+ # mouse:
514514+ # enabled: true
515515+ # mods: None
516516+ # binding:
517517+ # key: U
518518+ # mods: Control|Shift
519519+520520+# Mouse bindings
521521+#
522522+# Mouse bindings are specified as a list of objects, much like the key
523523+# bindings further below.
524524+#
525525+# To trigger mouse bindings when an application running within Alacritty
526526+# captures the mouse, the `Shift` modifier is automatically added as a
527527+# requirement.
528528+#
529529+# Each mouse binding will specify a:
530530+#
531531+# - `mouse`:
532532+#
533533+# - Middle
534534+# - Left
535535+# - Right
536536+# - Numeric identifier such as `5`
537537+#
538538+# - `action` (see key bindings for actions not exclusive to mouse mode)
539539+#
540540+# - Mouse exclusive actions:
541541+#
542542+# - ExpandSelection
543543+# Expand the selection to the current mouse cursor location.
544544+#
545545+# And optionally:
546546+#
547547+# - `mods` (see key bindings)
548548+#mouse_bindings:
549549+# - { mouse: Right, action: ExpandSelection }
550550+# - { mouse: Right, mods: Control, action: ExpandSelection }
551551+# - { mouse: Middle, mode: ~Vi, action: PasteSelection }
552552+553553+# Key bindings
554554+#
555555+# Key bindings are specified as a list of objects. For example, this is the
556556+# default paste binding:
557557+#
558558+# `- { key: V, mods: Control|Shift, action: Paste }`
559559+#
560560+# Each key binding will specify a:
561561+#
562562+# - `key`: Identifier of the key pressed
563563+#
564564+# - A-Z
565565+# - F1-F24
566566+# - Key0-Key9
567567+#
568568+# A full list with available key codes can be found here:
569569+# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
570570+#
571571+# Instead of using the name of the keys, the `key` field also supports using
572572+# the scancode of the desired key. Scancodes have to be specified as a
573573+# decimal number. This command will allow you to display the hex scancodes
574574+# for certain keys:
575575+#
576576+# `showkey --scancodes`.
577577+#
578578+# Then exactly one of:
579579+#
580580+# - `chars`: Send a byte sequence to the running application
581581+#
582582+# The `chars` field writes the specified string to the terminal. This makes
583583+# it possible to pass escape sequences. To find escape codes for bindings
584584+# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside
585585+# of tmux. Note that applications use terminfo to map escape sequences back
586586+# to keys. It is therefore required to update the terminfo when changing an
587587+# escape sequence.
588588+#
589589+# - `action`: Execute a predefined action
590590+#
591591+# - ToggleViMode
592592+# - SearchForward
593593+# Start searching toward the right of the search origin.
594594+# - SearchBackward
595595+# Start searching toward the left of the search origin.
596596+# - Copy
597597+# - Paste
598598+# - IncreaseFontSize
599599+# - DecreaseFontSize
600600+# - ResetFontSize
601601+# - ScrollPageUp
602602+# - ScrollPageDown
603603+# - ScrollHalfPageUp
604604+# - ScrollHalfPageDown
605605+# - ScrollLineUp
606606+# - ScrollLineDown
607607+# - ScrollToTop
608608+# - ScrollToBottom
609609+# - ClearHistory
610610+# Remove the terminal's scrollback history.
611611+# - Hide
612612+# Hide the Alacritty window.
613613+# - Minimize
614614+# Minimize the Alacritty window.
615615+# - Quit
616616+# Quit Alacritty.
617617+# - ToggleFullscreen
618618+# - SpawnNewInstance
619619+# Spawn a new instance of Alacritty.
620620+# - CreateNewWindow
621621+# Create a new Alacritty window from the current process.
622622+# - ClearLogNotice
623623+# Clear Alacritty's UI warning and error notice.
624624+# - ClearSelection
625625+# Remove the active selection.
626626+# - ReceiveChar
627627+# - None
628628+#
629629+# - Vi mode exclusive actions:
630630+#
631631+# - Open
632632+# Perform the action of the first matching hint under the vi mode cursor
633633+# with `mouse.enabled` set to `true`.
634634+# - ToggleNormalSelection
635635+# - ToggleLineSelection
636636+# - ToggleBlockSelection
637637+# - ToggleSemanticSelection
638638+# Toggle semantic selection based on `selection.semantic_escape_chars`.
639639+# - CenterAroundViCursor
640640+# Center view around vi mode cursor
641641+#
642642+# - Vi mode exclusive cursor motion actions:
643643+#
644644+# - Up
645645+# One line up.
646646+# - Down
647647+# One line down.
648648+# - Left
649649+# One character left.
650650+# - Right
651651+# One character right.
652652+# - First
653653+# First column, or beginning of the line when already at the first column.
654654+# - Last
655655+# Last column, or beginning of the line when already at the last column.
656656+# - FirstOccupied
657657+# First non-empty cell in this terminal row, or first non-empty cell of
658658+# the line when already at the first cell of the row.
659659+# - High
660660+# Top of the screen.
661661+# - Middle
662662+# Center of the screen.
663663+# - Low
664664+# Bottom of the screen.
665665+# - SemanticLeft
666666+# Start of the previous semantically separated word.
667667+# - SemanticRight
668668+# Start of the next semantically separated word.
669669+# - SemanticLeftEnd
670670+# End of the previous semantically separated word.
671671+# - SemanticRightEnd
672672+# End of the next semantically separated word.
673673+# - WordLeft
674674+# Start of the previous whitespace separated word.
675675+# - WordRight
676676+# Start of the next whitespace separated word.
677677+# - WordLeftEnd
678678+# End of the previous whitespace separated word.
679679+# - WordRightEnd
680680+# End of the next whitespace separated word.
681681+# - Bracket
682682+# Character matching the bracket at the cursor's location.
683683+# - SearchNext
684684+# Beginning of the next match.
685685+# - SearchPrevious
686686+# Beginning of the previous match.
687687+# - SearchStart
688688+# Start of the match to the left of the vi mode cursor.
689689+# - SearchEnd
690690+# End of the match to the right of the vi mode cursor.
691691+#
692692+# - Search mode exclusive actions:
693693+# - SearchFocusNext
694694+# Move the focus to the next search match.
695695+# - SearchFocusPrevious
696696+# Move the focus to the previous search match.
697697+# - SearchConfirm
698698+# - SearchCancel
699699+# - SearchClear
700700+# Reset the search regex.
701701+# - SearchDeleteWord
702702+# Delete the last word in the search regex.
703703+# - SearchHistoryPrevious
704704+# Go to the previous regex in the search history.
705705+# - SearchHistoryNext
706706+# Go to the next regex in the search history.
707707+#
708708+# - macOS exclusive actions:
709709+# - ToggleSimpleFullscreen
710710+# Enter fullscreen without occupying another space.
711711+#
712712+# - Linux/BSD exclusive actions:
713713+#
714714+# - CopySelection
715715+# Copy from the selection buffer.
716716+# - PasteSelection
717717+# Paste from the selection buffer.
718718+#
719719+# - `command`: Fork and execute a specified command plus arguments
720720+#
721721+# The `command` field must be a map containing a `program` string and an
722722+# `args` array of command line parameter strings. For example:
723723+# `{ program: "alacritty", args: ["-e", "vttest"] }`
724724+#
725725+# And optionally:
726726+#
727727+# - `mods`: Key modifiers to filter binding actions
728728+#
729729+# - Command
730730+# - Control
731731+# - Option
732732+# - Super
733733+# - Shift
734734+# - Alt
735735+#
736736+# Multiple `mods` can be combined using `|` like this:
737737+# `mods: Control|Shift`.
738738+# Whitespace and capitalization are relevant and must match the example.
739739+#
740740+# - `mode`: Indicate a binding for only specific terminal reported modes
741741+#
742742+# This is mainly used to send applications the correct escape sequences
743743+# when in different modes.
744744+#
745745+# - AppCursor
746746+# - AppKeypad
747747+# - Search
748748+# - Alt
749749+# - Vi
750750+#
751751+# A `~` operator can be used before a mode to apply the binding whenever
752752+# the mode is *not* active, e.g. `~Alt`.
753753+#
754754+# Bindings are always filled by default, but will be replaced when a new
755755+# binding with the same triggers is defined. To unset a default binding, it can
756756+# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
757757+# a no-op if you do not wish to receive input characters for that binding.
758758+#
759759+# If the same trigger is assigned to multiple actions, all of them are executed
760760+# in the order they were defined in.
761761+#key_bindings:
762762+ #- { key: Paste, action: Paste }
763763+ #- { key: Copy, action: Copy }
764764+ #- { key: L, mods: Control, action: ClearLogNotice }
765765+ #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
766766+ #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp }
767767+ #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown }
768768+ #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop }
769769+ #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
770770+771771+ # Vi Mode
772772+ #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
773773+ #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
774774+ #- { key: Escape, mode: Vi|~Search, action: ClearSelection }
775775+ #- { key: I, mode: Vi|~Search, action: ToggleViMode }
776776+ #- { key: I, mode: Vi|~Search, action: ScrollToBottom }
777777+ #- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode }
778778+ #- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
779779+ #- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }
780780+ #- { key: G, mode: Vi|~Search, action: ScrollToTop }
781781+ #- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom }
782782+ #- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp }
783783+ #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown }
784784+ #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
785785+ #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
786786+ #- { key: Y, mode: Vi|~Search, action: Copy }
787787+ #- { key: Y, mode: Vi|~Search, action: ClearSelection }
788788+ #- { key: Copy, mode: Vi|~Search, action: ClearSelection }
789789+ #- { key: V, mode: Vi|~Search, action: ToggleNormalSelection }
790790+ #- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection }
791791+ #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
792792+ #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
793793+ #- { key: Return, mode: Vi|~Search, action: Open }
794794+ #- { key: Z, mode: Vi|~Search, action: CenterAroundViCursor }
795795+ #- { key: K, mode: Vi|~Search, action: Up }
796796+ #- { key: J, mode: Vi|~Search, action: Down }
797797+ #- { key: H, mode: Vi|~Search, action: Left }
798798+ #- { key: L, mode: Vi|~Search, action: Right }
799799+ #- { key: Up, mode: Vi|~Search, action: Up }
800800+ #- { key: Down, mode: Vi|~Search, action: Down }
801801+ #- { key: Left, mode: Vi|~Search, action: Left }
802802+ #- { key: Right, mode: Vi|~Search, action: Right }
803803+ #- { key: Key0, mode: Vi|~Search, action: First }
804804+ #- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last }
805805+ #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied }
806806+ #- { key: H, mods: Shift, mode: Vi|~Search, action: High }
807807+ #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle }
808808+ #- { key: L, mods: Shift, mode: Vi|~Search, action: Low }
809809+ #- { key: B, mode: Vi|~Search, action: SemanticLeft }
810810+ #- { key: W, mode: Vi|~Search, action: SemanticRight }
811811+ #- { key: E, mode: Vi|~Search, action: SemanticRightEnd }
812812+ #- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft }
813813+ #- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight }
814814+ #- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
815815+ #- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket }
816816+ #- { key: Slash, mode: Vi|~Search, action: SearchForward }
817817+ #- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward }
818818+ #- { key: N, mode: Vi|~Search, action: SearchNext }
819819+ #- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious }
820820+821821+ # Search Mode
822822+ #- { key: Return, mode: Search|Vi, action: SearchConfirm }
823823+ #- { key: Escape, mode: Search, action: SearchCancel }
824824+ #- { key: C, mods: Control, mode: Search, action: SearchCancel }
825825+ #- { key: U, mods: Control, mode: Search, action: SearchClear }
826826+ #- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
827827+ #- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious }
828828+ #- { key: N, mods: Control, mode: Search, action: SearchHistoryNext }
829829+ #- { key: Up, mode: Search, action: SearchHistoryPrevious }
830830+ #- { key: Down, mode: Search, action: SearchHistoryNext }
831831+ #- { key: Return, mode: Search|~Vi, action: SearchFocusNext }
832832+ #- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious }
833833+834834+ # (Windows, Linux, and BSD only)
835835+ #- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste }
836836+ #- { key: C, mods: Control|Shift, action: Copy }
837837+ #- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward }
838838+ #- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward }
839839+ #- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection }
840840+ #- { key: Insert, mods: Shift, action: PasteSelection }
841841+ #- { key: Key0, mods: Control, action: ResetFontSize }
842842+ #- { key: Equals, mods: Control, action: IncreaseFontSize }
843843+ #- { key: Plus, mods: Control, action: IncreaseFontSize }
844844+ #- { key: NumpadAdd, mods: Control, action: IncreaseFontSize }
845845+ #- { key: Minus, mods: Control, action: DecreaseFontSize }
846846+ #- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
847847+848848+ # (Windows only)
849849+ #- { key: Return, mods: Alt, action: ToggleFullscreen }
850850+851851+ # (macOS only)
852852+ #- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" }
853853+ #- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory }
854854+ #- { key: Key0, mods: Command, action: ResetFontSize }
855855+ #- { key: Equals, mods: Command, action: IncreaseFontSize }
856856+ #- { key: Plus, mods: Command, action: IncreaseFontSize }
857857+ #- { key: NumpadAdd, mods: Command, action: IncreaseFontSize }
858858+ #- { key: Minus, mods: Command, action: DecreaseFontSize }
859859+ #- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize }
860860+ #- { key: V, mods: Command, action: Paste }
861861+ #- { key: C, mods: Command, action: Copy }
862862+ #- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection }
863863+ #- { key: H, mods: Command, action: Hide }
864864+ #- { key: H, mods: Command|Alt, action: HideOtherApplications }
865865+ #- { key: M, mods: Command, action: Minimize }
866866+ #- { key: Q, mods: Command, action: Quit }
867867+ #- { key: W, mods: Command, action: Quit }
868868+ #- { key: N, mods: Command, action: SpawnNewInstance }
869869+ #- { key: F, mods: Command|Control, action: ToggleFullscreen }
870870+ #- { key: F, mods: Command, mode: ~Search, action: SearchForward }
871871+ #- { key: B, mods: Command, mode: ~Search, action: SearchBackward }
872872+873873+#debug:
874874+ # Display the time it takes to redraw each frame.
875875+ #render_timer: false
876876+877877+ # Keep the log file after quitting Alacritty.
878878+ #persistent_logging: false
879879+880880+ # Log level
881881+ #
882882+ # Values for `log_level`:
883883+ # - Off
884884+ # - Error
885885+ # - Warn
886886+ # - Info
887887+ # - Debug
888888+ # - Trace
889889+ #log_level: Warn
890890+891891+ # Print all received window events.
892892+ #print_events: false
893893+894894+ # Highlight window damage information.
895895+ #highlight_damage: false