1# Configuration for Alacritty, the GPU enhanced terminal emulator. 2 3# Import additional configuration files 4# 5# Imports are loaded in order, skipping all missing files, with the importing 6# file being loaded last. If a field is already present in a previous import, it 7# will be replaced. 8# 9# All imports must either be absolute paths starting with `/`, or paths relative 10# to the user's home directory starting with `~/`. 11#import: 12# - /path/to/alacritty.yml 13 14# Any items in the `env` entry below will be added as 15# environment variables. Some entries may override variables 16# set by alacritty itself. 17#env: 18 # TERM variable 19 # 20 # This value is used to set the `$TERM` environment variable for 21 # each instance of Alacritty. If it is not present, alacritty will 22 # check the local terminfo database and use `alacritty` if it is 23 # available, otherwise `xterm-256color` is used. 24 #TERM: alacritty 25 26#window: 27 # Window dimensions (changes require restart) 28 # 29 # Number of lines/columns (not pixels) in the terminal. The number of columns 30 # must be at least `2`, while using a value of `0` for columns and lines will 31 # fall back to the window manager's recommended size. 32 #dimensions: 33 # columns: 0 34 # lines: 0 35 36 # Window position (changes require restart) 37 # 38 # Specified in number of pixels. 39 # If the position is not set, the window manager will handle the placement. 40 #position: 41 # x: 0 42 # y: 0 43 44 # Window padding (changes require restart) 45 # 46 # Blank space added around the window in pixels. This padding is scaled 47 # by DPI and the specified value is always added at both opposing sides. 48 #padding: 49 # x: 0 50 # y: 0 51 52 # Spread additional padding evenly around the terminal content. 53 #dynamic_padding: false 54 55 # Window decorations 56 # 57 # Values for `decorations`: 58 # - full: Borders and title bar 59 # - none: Neither borders nor title bar 60 # 61 # Values for `decorations` (macOS only): 62 # - transparent: Title bar, transparent background and title bar buttons 63 # - buttonless: Title bar, transparent background and no title bar buttons 64 #decorations: full 65 66 # Startup Mode (changes require restart) 67 # 68 # Values for `startup_mode`: 69 # - Windowed 70 # - Maximized 71 # - Fullscreen 72 # 73 # Values for `startup_mode` (macOS only): 74 # - SimpleFullscreen 75 #startup_mode: Windowed 76 77 # Window title 78 #title: Alacritty 79 80 # Allow terminal applications to change Alacritty's window title. 81 #dynamic_title: true 82 83 # Window class (Linux/BSD only): 84 #class: 85 # Application instance name 86 #instance: Alacritty 87 # General application class 88 #general: Alacritty 89 90 # GTK theme variant (Linux/BSD only) 91 # 92 # Override the variant of the GTK theme. Commonly supported values are `dark` 93 # and `light`. Set this to `None` to use the default theme variant. 94 #gtk_theme_variant: None 95 96#scrolling: 97 # Maximum number of lines in the scrollback buffer. 98 # Specifying '0' will disable scrolling. 99 #history: 10000 100 101 # Scrolling distance multiplier. 102 #multiplier: 3 103 104# Font configuration 105#font: 106 # Normal (roman) font face 107 #normal: 108 # Font family 109 # 110 # Default: 111 # - (macOS) Menlo 112 # - (Linux/BSD) monospace 113 # - (Windows) Consolas 114 #family: monospace 115 116 # The `style` can be specified to pick a specific face. 117 #style: Regular 118 119 # Bold font face 120 #bold: 121 # Font family 122 # 123 # If the bold family is not specified, it will fall back to the 124 # value specified for the normal font. 125 #family: monospace 126 127 # The `style` can be specified to pick a specific face. 128 #style: Bold 129 130 # Italic font face 131 #italic: 132 # Font family 133 # 134 # If the italic family is not specified, it will fall back to the 135 # value specified for the normal font. 136 #family: monospace 137 138 # The `style` can be specified to pick a specific face. 139 #style: Italic 140 141 # Bold italic font face 142 #bold_italic: 143 # Font family 144 # 145 # If the bold italic family is not specified, it will fall back to the 146 # value specified for the normal font. 147 #family: monospace 148 149 # The `style` can be specified to pick a specific face. 150 #style: Bold Italic 151 152 # Point size 153 #size: 11.0 154 155 # Offset is the extra space around each character. `offset.y` can be thought 156 # of as modifying the line spacing, and `offset.x` as modifying the letter 157 # spacing. 158 #offset: 159 # x: 0 160 # y: 0 161 162 # Glyph offset determines the locations of the glyphs within their cells with 163 # the default being at the bottom. Increasing `x` moves the glyph to the 164 # right, increasing `y` moves the glyph upward. 165 #glyph_offset: 166 # x: 0 167 # y: 0 168 169 # Thin stroke font rendering (macOS only) 170 # 171 # Thin strokes are suitable for retina displays, but for non-retina screens 172 # it is recommended to set `use_thin_strokes` to `false`. 173 #use_thin_strokes: true 174 175# If `true`, bold text is drawn using the bright color variants. 176#draw_bold_text_with_bright_colors: false 177 178# Colors (Tomorrow Night) 179#colors: 180 # Default colors 181 #primary: 182 # background: '#1d1f21' 183 # foreground: '#c5c8c6' 184 185 # Bright and dim foreground colors 186 # 187 # The dimmed foreground color is calculated automatically if it is not 188 # present. If the bright foreground color is not set, or 189 # `draw_bold_text_with_bright_colors` is `false`, the normal foreground 190 # color will be used. 191 #dim_foreground: '#828482' 192 #bright_foreground: '#eaeaea' 193 194 # Cursor colors 195 # 196 # Colors which should be used to draw the terminal cursor. 197 # 198 # Allowed values are CellForeground/CellBackground, which reference the 199 # affected cell, or hexadecimal colors like #ff00ff. 200 #cursor: 201 # text: CellBackground 202 # cursor: CellForeground 203 204 # Vi mode cursor colors 205 # 206 # Colors for the cursor when the vi mode is active. 207 # 208 # Allowed values are CellForeground/CellBackground, which reference the 209 # affected cell, or hexadecimal colors like #ff00ff. 210 #vi_mode_cursor: 211 # text: CellBackground 212 # cursor: CellForeground 213 214 # Search colors 215 # 216 # Colors used for the search bar and match highlighting. 217 #search: 218 # Allowed values are CellForeground/CellBackground, which reference the 219 # affected cell, or hexadecimal colors like #ff00ff. 220 #matches: 221 # foreground: '#000000' 222 # background: '#ffffff' 223 #focused_match: 224 # foreground: '#ffffff' 225 # background: '#000000' 226 227 #bar: 228 # background: '#c5c8c6' 229 # foreground: '#1d1f21' 230 231 # Keyboard regex hints 232 #hints: 233 # First character in the hint label 234 # 235 # Allowed values are CellForeground/CellBackground, which reference the 236 # affected cell, or hexadecimal colors like #ff00ff. 237 #start: 238 # foreground: '#1d1f21' 239 # background: '#e9ff5e' 240 241 # All characters after the first one in the hint label 242 # 243 # Allowed values are CellForeground/CellBackground, which reference the 244 # affected cell, or hexadecimal colors like #ff00ff. 245 #end: 246 # foreground: '#e9ff5e' 247 # background: '#1d1f21' 248 249 # Line indicator 250 # 251 # Color used for the indicator displaying the position in history during 252 # search and vi mode. 253 # 254 # By default, these will use the opposing primary color. 255 #line_indicator: 256 # foreground: None 257 # background: None 258 259 # Selection colors 260 # 261 # Colors which should be used to draw the selection area. 262 # 263 # Allowed values are CellForeground/CellBackground, which reference the 264 # affected cell, or hexadecimal colors like #ff00ff. 265 #selection: 266 # text: CellBackground 267 # background: CellForeground 268 269 # Normal colors 270 #normal: 271 # black: '#1d1f21' 272 # red: '#cc6666' 273 # green: '#b5bd68' 274 # yellow: '#f0c674' 275 # blue: '#81a2be' 276 # magenta: '#b294bb' 277 # cyan: '#8abeb7' 278 # white: '#c5c8c6' 279 280 # Bright colors 281 #bright: 282 # black: '#666666' 283 # red: '#d54e53' 284 # green: '#b9ca4a' 285 # yellow: '#e7c547' 286 # blue: '#7aa6da' 287 # magenta: '#c397d8' 288 # cyan: '#70c0b1' 289 # white: '#eaeaea' 290 291 # Dim colors 292 # 293 # If the dim colors are not set, they will be calculated automatically based 294 # on the `normal` colors. 295 #dim: 296 # black: '#131415' 297 # red: '#864343' 298 # green: '#777c44' 299 # yellow: '#9e824c' 300 # blue: '#556a7d' 301 # magenta: '#75617b' 302 # cyan: '#5b7d78' 303 # white: '#828482' 304 305 # Indexed Colors 306 # 307 # The indexed colors include all colors from 16 to 256. 308 # When these are not set, they're filled with sensible defaults. 309 # 310 # Example: 311 # `- { index: 16, color: '#ff00ff' }` 312 # 313 #indexed_colors: [] 314 315# Bell 316# 317# The bell is rung every time the BEL control character is received. 318#bell: 319 # Visual Bell Animation 320 # 321 # Animation effect for flashing the screen when the visual bell is rung. 322 # 323 # Values for `animation`: 324 # - Ease 325 # - EaseOut 326 # - EaseOutSine 327 # - EaseOutQuad 328 # - EaseOutCubic 329 # - EaseOutQuart 330 # - EaseOutQuint 331 # - EaseOutExpo 332 # - EaseOutCirc 333 # - Linear 334 #animation: EaseOutExpo 335 336 # Duration of the visual bell flash in milliseconds. A `duration` of `0` will 337 # disable the visual bell animation. 338 #duration: 0 339 340 # Visual bell animation color. 341 #color: '#ffffff' 342 343 # Bell Command 344 # 345 # This program is executed whenever the bell is rung. 346 # 347 # When set to `command: None`, no command will be executed. 348 # 349 # Example: 350 # command: 351 # program: notify-send 352 # args: ["Hello, World!"] 353 # 354 #command: None 355 356# Background opacity 357# 358# Window opacity as a floating point number from `0.0` to `1.0`. 359# The value `0.0` is completely transparent and `1.0` is opaque. 360#background_opacity: 1.0 361 362#selection: 363 # This string contains all characters that are used as separators for 364 # "semantic words" in Alacritty. 365 #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" 366 367 # When set to `true`, selected text will be copied to the primary clipboard. 368 #save_to_clipboard: false 369 370#cursor: 371 # Cursor style 372 #style: 373 # Cursor shape 374 # 375 # Values for `shape`: 376 # - ▇ Block 377 # - _ Underline 378 # - | Beam 379 #shape: Block 380 381 # Cursor blinking state 382 # 383 # Values for `blinking`: 384 # - Never: Prevent the cursor from ever blinking 385 # - Off: Disable blinking by default 386 # - On: Enable blinking by default 387 # - Always: Force the cursor to always blink 388 #blinking: Off 389 390 # Vi mode cursor style 391 # 392 # If the vi mode cursor style is `None` or not specified, it will fall back to 393 # the style of the active value of the normal cursor. 394 # 395 # See `cursor.style` for available options. 396 #vi_mode_style: None 397 398 # Cursor blinking interval in milliseconds. 399 #blink_interval: 750 400 401 # If this is `true`, the cursor will be rendered as a hollow box when the 402 # window is not focused. 403 #unfocused_hollow: true 404 405 # Thickness of the cursor relative to the cell width as floating point number 406 # from `0.0` to `1.0`. 407 #thickness: 0.15 408 409# Live config reload (changes require restart) 410#live_config_reload: true 411 412# Shell 413# 414# You can set `shell.program` to the path of your favorite shell, e.g. 415# `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the 416# shell. 417# 418# Default: 419# - (macOS) /bin/bash --login 420# - (Linux/BSD) user login shell 421# - (Windows) powershell 422#shell: 423# program: /bin/bash 424# args: 425# - --login 426 427# Startup directory 428# 429# Directory the shell is started in. If this is unset, or `None`, the working 430# directory of the parent process will be used. 431#working_directory: None 432 433# Send ESC (\x1b) before characters when alt is pressed. 434#alt_send_esc: true 435 436#mouse: 437 # Click settings 438 # 439 # The `double_click` and `triple_click` settings control the time 440 # alacritty should wait for accepting multiple clicks as one double 441 # or triple click. 442 #double_click: { threshold: 300 } 443 #triple_click: { threshold: 300 } 444 445 # If this is `true`, the cursor is temporarily hidden when typing. 446 #hide_when_typing: false 447 448# Regex hints 449# 450# Terminal hints can be used to find text in the visible part of the terminal 451# and pipe it to other applications. 452#hints: 453 # Keys used for the hint labels. 454 #alphabet: "jfkdls;ahgurieowpq" 455 456 # List with all available hints 457 # 458 # Each hint must have a `regex` and either an `action` or a `command` field. 459 # The fields `mouse`, `binding` and `post_processing` are optional. 460 # 461 # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and 462 # `mouse.mods` accept the same values as they do in the `key_bindings` section. 463 # 464 # The `mouse.enabled` field controls if the hint should be underlined while 465 # the mouse with all `mouse.mods` keys held or the vi mode cursor is above it. 466 # 467 # If the `post_processing` field is set to `true`, heuristics will be used to 468 # shorten the match if there are characters likely not to be part of the hint 469 # (e.g. a trailing `.`). This is most useful for URIs. 470 # 471 # Values for `action`: 472 # - Copy 473 # Copy the hint's text to the clipboard. 474 # - Paste 475 # Paste the hint's text to the terminal or search. 476 # - Select 477 # Select the hint's text. 478 # - MoveViModeCursor 479 # Move the vi mode cursor to the beginning of the hint. 480 #enabled: 481 # - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ 482 # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" 483 # command: xdg-open 484 # post_processing: true 485 # mouse: 486 # enabled: true 487 # mods: None 488 # binding: 489 # key: U 490 # mods: Control|Shift 491 492# Mouse bindings 493# 494# Mouse bindings are specified as a list of objects, much like the key 495# bindings further below. 496# 497# To trigger mouse bindings when an application running within Alacritty 498# captures the mouse, the `Shift` modifier is automatically added as a 499# requirement. 500# 501# Each mouse binding will specify a: 502# 503# - `mouse`: 504# 505# - Middle 506# - Left 507# - Right 508# - Numeric identifier such as `5` 509# 510# - `action` (see key bindings) 511# 512# And optionally: 513# 514# - `mods` (see key bindings) 515#mouse_bindings: 516# - { mouse: Middle, action: PasteSelection } 517 518# Key bindings 519# 520# Key bindings are specified as a list of objects. For example, this is the 521# default paste binding: 522# 523# `- { key: V, mods: Control|Shift, action: Paste }` 524# 525# Each key binding will specify a: 526# 527# - `key`: Identifier of the key pressed 528# 529# - A-Z 530# - F1-F24 531# - Key0-Key9 532# 533# A full list with available key codes can be found here: 534# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants 535# 536# Instead of using the name of the keys, the `key` field also supports using 537# the scancode of the desired key. Scancodes have to be specified as a 538# decimal number. This command will allow you to display the hex scancodes 539# for certain keys: 540# 541# `showkey --scancodes`. 542# 543# Then exactly one of: 544# 545# - `chars`: Send a byte sequence to the running application 546# 547# The `chars` field writes the specified string to the terminal. This makes 548# it possible to pass escape sequences. To find escape codes for bindings 549# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside 550# of tmux. Note that applications use terminfo to map escape sequences back 551# to keys. It is therefore required to update the terminfo when changing an 552# escape sequence. 553# 554# - `action`: Execute a predefined action 555# 556# - ToggleViMode 557# - SearchForward 558# Start searching toward the right of the search origin. 559# - SearchBackward 560# Start searching toward the left of the search origin. 561# - Copy 562# - Paste 563# - IncreaseFontSize 564# - DecreaseFontSize 565# - ResetFontSize 566# - ScrollPageUp 567# - ScrollPageDown 568# - ScrollHalfPageUp 569# - ScrollHalfPageDown 570# - ScrollLineUp 571# - ScrollLineDown 572# - ScrollToTop 573# - ScrollToBottom 574# - ClearHistory 575# Remove the terminal's scrollback history. 576# - Hide 577# Hide the Alacritty window. 578# - Minimize 579# Minimize the Alacritty window. 580# - Quit 581# Quit Alacritty. 582# - ToggleFullscreen 583# - SpawnNewInstance 584# Spawn a new instance of Alacritty. 585# - ClearLogNotice 586# Clear Alacritty's UI warning and error notice. 587# - ClearSelection 588# Remove the active selection. 589# - ReceiveChar 590# - None 591# 592# - Vi mode exclusive actions: 593# 594# - Open 595# Perform the action of the first matching hint under the vi mode cursor 596# with `mouse.enabled` set to `true`. 597# - ToggleNormalSelection 598# - ToggleLineSelection 599# - ToggleBlockSelection 600# - ToggleSemanticSelection 601# Toggle semantic selection based on `selection.semantic_escape_chars`. 602# 603# - Vi mode exclusive cursor motion actions: 604# 605# - Up 606# One line up. 607# - Down 608# One line down. 609# - Left 610# One character left. 611# - Right 612# One character right. 613# - First 614# First column, or beginning of the line when already at the first column. 615# - Last 616# Last column, or beginning of the line when already at the last column. 617# - FirstOccupied 618# First non-empty cell in this terminal row, or first non-empty cell of 619# the line when already at the first cell of the row. 620# - High 621# Top of the screen. 622# - Middle 623# Center of the screen. 624# - Low 625# Bottom of the screen. 626# - SemanticLeft 627# Start of the previous semantically separated word. 628# - SemanticRight 629# Start of the next semantically separated word. 630# - SemanticLeftEnd 631# End of the previous semantically separated word. 632# - SemanticRightEnd 633# End of the next semantically separated word. 634# - WordLeft 635# Start of the previous whitespace separated word. 636# - WordRight 637# Start of the next whitespace separated word. 638# - WordLeftEnd 639# End of the previous whitespace separated word. 640# - WordRightEnd 641# End of the next whitespace separated word. 642# - Bracket 643# Character matching the bracket at the cursor's location. 644# - SearchNext 645# Beginning of the next match. 646# - SearchPrevious 647# Beginning of the previous match. 648# - SearchStart 649# Start of the match to the left of the vi mode cursor. 650# - SearchEnd 651# End of the match to the right of the vi mode cursor. 652# 653# - Search mode exclusive actions: 654# - SearchFocusNext 655# Move the focus to the next search match. 656# - SearchFocusPrevious 657# Move the focus to the previous search match. 658# - SearchConfirm 659# - SearchCancel 660# - SearchClear 661# Reset the search regex. 662# - SearchDeleteWord 663# Delete the last word in the search regex. 664# - SearchHistoryPrevious 665# Go to the previous regex in the search history. 666# - SearchHistoryNext 667# Go to the next regex in the search history. 668# 669# - macOS exclusive actions: 670# - ToggleSimpleFullscreen 671# Enter fullscreen without occupying another space. 672# 673# - Linux/BSD exclusive actions: 674# 675# - CopySelection 676# Copy from the selection buffer. 677# - PasteSelection 678# Paste from the selection buffer. 679# 680# - `command`: Fork and execute a specified command plus arguments 681# 682# The `command` field must be a map containing a `program` string and an 683# `args` array of command line parameter strings. For example: 684# `{ program: "alacritty", args: ["-e", "vttest"] }` 685# 686# And optionally: 687# 688# - `mods`: Key modifiers to filter binding actions 689# 690# - Command 691# - Control 692# - Option 693# - Super 694# - Shift 695# - Alt 696# 697# Multiple `mods` can be combined using `|` like this: 698# `mods: Control|Shift`. 699# Whitespace and capitalization are relevant and must match the example. 700# 701# - `mode`: Indicate a binding for only specific terminal reported modes 702# 703# This is mainly used to send applications the correct escape sequences 704# when in different modes. 705# 706# - AppCursor 707# - AppKeypad 708# - Search 709# - Alt 710# - Vi 711# 712# A `~` operator can be used before a mode to apply the binding whenever 713# the mode is *not* active, e.g. `~Alt`. 714# 715# Bindings are always filled by default, but will be replaced when a new 716# binding with the same triggers is defined. To unset a default binding, it can 717# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for 718# a no-op if you do not wish to receive input characters for that binding. 719# 720# If the same trigger is assigned to multiple actions, all of them are executed 721# in the order they were defined in. 722#key_bindings: 723 #- { key: Paste, action: Paste } 724 #- { key: Copy, action: Copy } 725 #- { key: L, mods: Control, action: ClearLogNotice } 726 #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } 727 #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, } 728 #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown } 729 #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, } 730 #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom } 731 732 # Vi Mode 733 #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } 734 #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom } 735 #- { key: Escape, mode: Vi|~Search, action: ClearSelection } 736 #- { key: I, mode: Vi|~Search, action: ToggleViMode } 737 #- { key: I, mode: Vi|~Search, action: ScrollToBottom } 738 #- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode } 739 #- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp } 740 #- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown } 741 #- { key: G, mode: Vi|~Search, action: ScrollToTop } 742 #- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom } 743 #- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp } 744 #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } 745 #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } 746 #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } 747 #- { key: Y, mode: Vi|~Search, action: Copy } 748 #- { key: Y, mode: Vi|~Search, action: ClearSelection } 749 #- { key: Copy, mode: Vi|~Search, action: ClearSelection } 750 #- { key: V, mode: Vi|~Search, action: ToggleNormalSelection } 751 #- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection } 752 #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } 753 #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } 754 #- { key: Return, mode: Vi|~Search, action: Open } 755 #- { key: K, mode: Vi|~Search, action: Up } 756 #- { key: J, mode: Vi|~Search, action: Down } 757 #- { key: H, mode: Vi|~Search, action: Left } 758 #- { key: L, mode: Vi|~Search, action: Right } 759 #- { key: Up, mode: Vi|~Search, action: Up } 760 #- { key: Down, mode: Vi|~Search, action: Down } 761 #- { key: Left, mode: Vi|~Search, action: Left } 762 #- { key: Right, mode: Vi|~Search, action: Right } 763 #- { key: Key0, mode: Vi|~Search, action: First } 764 #- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last } 765 #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied } 766 #- { key: H, mods: Shift, mode: Vi|~Search, action: High } 767 #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } 768 #- { key: L, mods: Shift, mode: Vi|~Search, action: Low } 769 #- { key: B, mode: Vi|~Search, action: SemanticLeft } 770 #- { key: W, mode: Vi|~Search, action: SemanticRight } 771 #- { key: E, mode: Vi|~Search, action: SemanticRightEnd } 772 #- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft } 773 #- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight } 774 #- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd } 775 #- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket } 776 #- { key: Slash, mode: Vi|~Search, action: SearchForward } 777 #- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward } 778 #- { key: N, mode: Vi|~Search, action: SearchNext } 779 #- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious } 780 781 # Search Mode 782 #- { key: Return, mode: Search|Vi, action: SearchConfirm } 783 #- { key: Escape, mode: Search, action: SearchCancel } 784 #- { key: C, mods: Control, mode: Search, action: SearchCancel } 785 #- { key: U, mods: Control, mode: Search, action: SearchClear } 786 #- { key: W, mods: Control, mode: Search, action: SearchDeleteWord } 787 #- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious } 788 #- { key: N, mods: Control, mode: Search, action: SearchHistoryNext } 789 #- { key: Up, mode: Search, action: SearchHistoryPrevious } 790 #- { key: Down, mode: Search, action: SearchHistoryNext } 791 #- { key: Return, mode: Search|~Vi, action: SearchFocusNext } 792 #- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious } 793 794 # (Windows, Linux, and BSD only) 795 #- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste } 796 #- { key: C, mods: Control|Shift, action: Copy } 797 #- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward } 798 #- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward } 799 #- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection } 800 #- { key: Insert, mods: Shift, action: PasteSelection } 801 #- { key: Key0, mods: Control, action: ResetFontSize } 802 #- { key: Equals, mods: Control, action: IncreaseFontSize } 803 #- { key: Plus, mods: Control, action: IncreaseFontSize } 804 #- { key: NumpadAdd, mods: Control, action: IncreaseFontSize } 805 #- { key: Minus, mods: Control, action: DecreaseFontSize } 806 #- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize } 807 808 # (Windows only) 809 #- { key: Return, mods: Alt, action: ToggleFullscreen } 810 811 # (macOS only) 812 #- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" } 813 #- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory } 814 #- { key: Key0, mods: Command, action: ResetFontSize } 815 #- { key: Equals, mods: Command, action: IncreaseFontSize } 816 #- { key: Plus, mods: Command, action: IncreaseFontSize } 817 #- { key: NumpadAdd, mods: Command, action: IncreaseFontSize } 818 #- { key: Minus, mods: Command, action: DecreaseFontSize } 819 #- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize } 820 #- { key: V, mods: Command, action: Paste } 821 #- { key: C, mods: Command, action: Copy } 822 #- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection } 823 #- { key: H, mods: Command, action: Hide } 824 #- { key: H, mods: Command|Alt, action: HideOtherApplications } 825 #- { key: M, mods: Command, action: Minimize } 826 #- { key: Q, mods: Command, action: Quit } 827 #- { key: W, mods: Command, action: Quit } 828 #- { key: N, mods: Command, action: SpawnNewInstance } 829 #- { key: F, mods: Command|Control, action: ToggleFullscreen } 830 #- { key: F, mods: Command, mode: ~Search, action: SearchForward } 831 #- { key: B, mods: Command, mode: ~Search, action: SearchBackward } 832 833#debug: 834 # Display the time it takes to redraw each frame. 835 #render_timer: false 836 837 # Keep the log file after quitting Alacritty. 838 #persistent_logging: false 839 840 # Log level 841 # 842 # Values for `log_level`: 843 # - Off 844 # - Error 845 # - Warn 846 # - Info 847 # - Debug 848 # - Trace 849 #log_level: Warn 850 851 # Print all received window events. 852 #print_events: false 853