This is the first push to this repo with my dotfiles
[dotfilesold/.git] / .config / alacritty.yml
1 # Configuration for Alacritty, the GPU enhanced terminal emulator.
2
3 # Any items in the `env` entry below will be added as
4 # environment variables. Some entries may override variables
5 # set by alacritty itself.
6 #env:
7   # TERM variable
8   #
9   # This value is used to set the `$TERM` environment variable for
10   # each instance of Alacritty. If it is not present, alacritty will
11   # check the local terminfo database and use `alacritty` if it is
12   # available, otherwise `xterm-256color` is used.
13   #TERM: alacritty
14
15 #window:
16   # Window dimensions (changes require restart)
17   #
18   # Specified in number of columns/lines, not pixels.
19   # If both are `0`, this setting is ignored.
20   #dimensions:
21 #columns: 100
22 #lines: 100
23
24   # Window position (changes require restart)
25   #
26   # Specified in number of pixels.
27   # If the position is not set, the window manager will handle the placement.
28   #position:
29   #  x: 0
30   #  y: 0
31
32   # Window padding (changes require restart)
33   #
34   # Blank space added around the window in pixels. This padding is scaled
35   # by DPI and the specified value is always added at both opposing sides.
36   #padding:
37   #  x: 0
38   #  y: 0
39
40   # Spread additional padding evenly around the terminal content.
41   #dynamic_padding: false
42
43   # Window decorations
44   #
45   # Values for `decorations`:
46   #     - full: Borders and title bar
47   #     - none: Neither borders nor title bar
48   #
49   # Values for `decorations` (macOS only):
50   #     - transparent: Title bar, transparent background and title bar buttons
51   #     - buttonless: Title bar, transparent background, but no title bar buttons
52 decorations: none
53
54   # Startup Mode (changes require restart)
55   #
56   # Values for `startup_mode`:
57   #   - Windowed
58   #   - Maximized
59   #   - Fullscreen
60   #
61   # Values for `startup_mode` (macOS only):
62   #   - SimpleFullscreen
63   #startup_mode: Windowed
64
65   # Window title
66 #title: Josuer08
67
68   # Window class (Linux/BSD only):
69   #class:
70     # Application instance name
71     #instance: Alacritty
72     # General application class
73     #general: Alacritty
74
75   # GTK theme variant (Linux/BSD only)
76   #
77   # Override the variant of the GTK theme. Commonly supported values are `dark` and `light`.
78   # Set this to `None` to use the default theme variant.
79   #gtk_theme_variant: None
80
81 #scrolling:
82   # Maximum number of lines in the scrollback buffer.
83   # Specifying '0' will disable scrolling.
84   #history: 10000
85
86   # Number of lines the viewport will move for every line scrolled when
87   # scrollback is enabled (history > 0).
88   #multiplier: 3
89
90 # Font configuration
91 #font:
92   # Normal (roman) font face
93   #normal:
94     # Font family
95     #
96     # Default:
97     #   - (macOS) Menlo
98     #   - (Linux/BSD) monospace
99     #   - (Windows) Consolas
100     #family: monospace
101
102     # The `style` can be specified to pick a specific face.
103     #style: Regular
104
105   # Bold font face
106   #bold:
107     # Font family
108     #
109     # If the bold family is not specified, it will fall back to the
110     # value specified for the normal font.
111     #family: monospace
112
113     # The `style` can be specified to pick a specific face.
114     #style: Bold
115
116   # Italic font face
117   #italic:
118     # Font family
119     #
120     # If the italic family is not specified, it will fall back to the
121     # value specified for the normal font.
122     #family: monospace
123
124     # The `style` can be specified to pick a specific face.
125     #style: Italic
126
127   # Bold italic font face
128   #bold_italic:
129     # Font family
130     #
131     # If the bold italic family is not specified, it will fall back to the
132     # value specified for the normal font.
133     #family: monospace
134
135     # The `style` can be specified to pick a specific face.
136     #style: Bold Italic
137
138   # Point size
139 size: 13.0
140
141   # Offset is the extra space around each character. `offset.y` can be thought of
142   # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
143   #offset:
144   #  x: 0
145   #  y: 0
146
147   # Glyph offset determines the locations of the glyphs within their cells with
148   # the default being at the bottom. Increasing `x` moves the glyph to the right,
149   # increasing `y` moves the glyph upwards.
150   #glyph_offset:
151   #  x: 0
152   #  y: 0
153
154   # Thin stroke font rendering (macOS only)
155   #
156   # Thin strokes are suitable for retina displays, but for non-retina screens
157   # it is recommended to set `use_thin_strokes` to `false`
158   #
159   # macOS >= 10.14.x:
160   #
161   # If the font quality on non-retina display looks bad then set
162   # `use_thin_strokes` to `true` and enable font smoothing by running the
163   # following command:
164   #   `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO`
165   #
166   # This is a global setting and will require a log out or restart to take
167   # effect.
168   #use_thin_strokes: true
169
170 # If `true`, bold text is drawn using the bright color variants.
171 #draw_bold_text_with_bright_colors: false
172
173 # Colors (Tomorrow Night Bright)
174 #colors:
175   # Default colors
176   #primary:
177   #  background: '#000000'
178   #  foreground: '#eaeaea'
179
180     # Bright and dim foreground colors
181     #
182     # The dimmed foreground color is calculated automatically if it is not present.
183     # If the bright foreground color is not set, or `draw_bold_text_with_bright_colors`
184     # is `false`, the normal foreground color will be used.
185     #dim_foreground: '#9a9a9a'
186     #bright_foreground: '#ffffff'
187
188   # Cursor colors
189   #
190   # Colors which should be used to draw the terminal cursor. If these are
191   # unset, the cursor color will be the inverse of the cell color.
192   #cursor:
193   #  text: '#000000'
194   #  cursor: '#ffffff'
195
196   # Vi mode cursor colors
197   #
198   # Colors for the cursor when the vi mode is active. If these are unset, the
199   # cursor color will be the inverse of the cell color.
200   #vi_mode_cursor:
201   #  text: '#000000'
202   #  cursor: '#ffffff'
203
204   # Selection colors
205   #
206   # Colors which should be used to draw the selection area. If selection
207   # background is unset, selection color will be the inverse of the cell colors.
208   # If only text is unset the cell text color will remain the same.
209   #selection:
210   #  text: '#eaeaea'
211   #  background: '#404040'
212
213   # Normal colors
214   #normal:
215   #  black:   '#000000'
216   #  red:     '#d54e53'
217   #  green:   '#b9ca4a'
218   #  yellow:  '#e6c547'
219   #  blue:    '#7aa6da'
220   #  magenta: '#c397d8'
221   #  cyan:    '#70c0ba'
222   #  white:   '#eaeaea'
223
224   # Bright colors
225   #bright:
226   #  black:   '#666666'
227   #  red:     '#ff3334'
228   #  green:   '#9ec400'
229   #  yellow:  '#e7c547'
230   #  blue:    '#7aa6da'
231   #  magenta: '#b77ee0'
232   #  cyan:    '#54ced6'
233   #  white:   '#ffffff'
234
235   # Dim colors
236   #
237   # If the dim colors are not set, they will be calculated automatically based
238   # on the `normal` colors.
239   #dim:
240   #  black:   '#000000'
241   #  red:     '#8c3336'
242   #  green:   '#7a8530'
243   #  yellow:  '#97822e'
244   #  blue:    '#506d8f'
245   #  magenta: '#80638e'
246   #  cyan:    '#497e7a'
247   #  white:   '#9a9a9a'
248
249   # Indexed Colors
250   #
251   # The indexed colors include all colors from 16 to 256.
252   # When these are not set, they're filled with sensible defaults.
253   #
254   # Example:
255   #   `- { index: 16, color: '#ff00ff' }`
256   #
257   #indexed_colors: []
258
259 # Visual Bell
260 #
261 # Any time the BEL code is received, Alacritty "rings" the visual bell. Once
262 # rung, the terminal background will be set to white and transition back to the
263 # default background color. You can control the rate of this transition by
264 # setting the `duration` property (represented in milliseconds). You can also
265 # configure the transition function by setting the `animation` property.
266 #
267 # Values for `animation`:
268 #   - Ease
269 #   - EaseOut
270 #   - EaseOutSine
271 #   - EaseOutQuad
272 #   - EaseOutCubic
273 #   - EaseOutQuart
274 #   - EaseOutQuint
275 #   - EaseOutExpo
276 #   - EaseOutCirc
277 #   - Linear
278 #
279 # Specifying a `duration` of `0` will disable the visual bell.
280 #visual_bell:
281 #  animation: EaseOutExpo
282 #  duration: 0
283 #  color: '#ffffff'
284
285 # Background opacity
286 #
287 # Window opacity as a floating point number from `0.0` to `1.0`.
288 # The value `0.0` is completely transparent and `1.0` is opaque.
289 background_opacity: 0.85
290
291 #selection:
292   #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
293
294   # When set to `true`, selected text will be copied to the primary clipboard.
295   #save_to_clipboard: false
296
297 # Allow terminal applications to change Alacritty's window title.
298 #dynamic_title: true
299
300 #cursor:
301   # Cursor style
302   #
303   # Values for `style`:
304   #   - â–‡ Block
305   #   - _ Underline
306   #   - | Beam
307 #style: Underline
308
309   # Vi mode cursor style
310   #
311   # If the vi mode cursor style is `None` or not specified, it will fall back to
312   # the style of the active value of the normal cursor.
313   #
314   # See `cursor.style` for available options.
315   #vi_mode_style: None
316
317   # If this is `true`, the cursor will be rendered as a hollow box when the
318   # window is not focused.
319 unfocused_hollow: true
320
321 # Live config reload (changes require restart)
322 #live_config_reload: true
323
324 # Shell
325 #
326 # You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
327 # Entries in `shell.args` are passed unmodified as arguments to the shell.
328 #
329 # Default:
330 #   - (macOS) /bin/bash --login
331 #   - (Linux/BSD) user login shell
332 #   - (Windows) powershell
333 #shell:
334 #  program: /bin/bash
335 #  args:
336 #    - --login
337
338 # Startup directory
339 #
340 # Directory the shell is started in. If this is unset, or `None`, the working
341 # directory of the parent process will be used.
342 #working_directory: None
343
344 # WinPTY backend (Windows only)
345 #
346 # Alacritty defaults to using the newer ConPTY backend if it is available,
347 # since it resolves a lot of bugs and is quite a bit faster. If it is not
348 # available, the the WinPTY backend will be used instead.
349 #
350 # Setting this option to `true` makes Alacritty use the legacy WinPTY backend,
351 # even if the ConPTY backend is available.
352 #winpty_backend: false
353
354 # Send ESC (\x1b) before characters when alt is pressed.
355 #alt_send_esc: true
356
357 #mouse:
358   # Click settings
359   #
360   # The `double_click` and `triple_click` settings control the time
361   # alacritty should wait for accepting multiple clicks as one double
362   # or triple click.
363   #double_click: { threshold: 300 }
364   #triple_click: { threshold: 300 }
365
366   # If this is `true`, the cursor is temporarily hidden when typing.
367   #hide_when_typing: false
368
369   #url:
370     # URL launcher
371     #
372     # This program is executed when clicking on a text which is recognized as a URL.
373     # The URL is always added to the command as the last parameter.
374     #
375     # When set to `None`, URL launching will be disabled completely.
376     #
377     # Default:
378     #   - (macOS) open
379     #   - (Linux/BSD) xdg-open
380     #   - (Windows) explorer
381     #launcher:
382     #  program: xdg-open
383     #  args: []
384
385     # URL modifiers
386     #
387     # These are the modifiers that need to be held down for opening URLs when clicking
388     # on them. The available modifiers are documented in the key binding section.
389     #modifiers: None
390
391 # Mouse bindings
392 #
393 # Mouse bindings are specified as a list of objects, much like the key
394 # bindings further below.
395 #
396 # To trigger mouse bindings when an application running within Alacritty captures the mouse, the
397 # `Shift` modifier is automatically added as a requirement.
398 #
399 # Each mouse binding will specify a:
400 #
401 # - `mouse`:
402 #
403 #   - Middle
404 #   - Left
405 #   - Right
406 #   - Numeric identifier such as `5`
407 #
408 # - `action` (see key bindings)
409 #
410 # And optionally:
411 #
412 # - `mods` (see key bindings)
413 #mouse_bindings:
414 #  - { mouse: Middle, action: PasteSelection }
415
416 # Key bindings
417 #
418 # Key bindings are specified as a list of objects. For example, this is the
419 # default paste binding:
420 #
421 # `- { key: V, mods: Control|Shift, action: Paste }`
422 #
423 # Each key binding will specify a:
424 #
425 # - `key`: Identifier of the key pressed
426 #
427 #    - A-Z
428 #    - F1-F24
429 #    - Key0-Key9
430 #
431 #    A full list with available key codes can be found here:
432 #    https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
433 #
434 #    Instead of using the name of the keys, the `key` field also supports using
435 #    the scancode of the desired key. Scancodes have to be specified as a
436 #    decimal number. This command will allow you to display the hex scancodes
437 #    for certain keys:
438 #
439 #       `showkey --scancodes`.
440 #
441 # Then exactly one of:
442 #
443 # - `chars`: Send a byte sequence to the running application
444 #
445 #    The `chars` field writes the specified string to the terminal. This makes
446 #    it possible to pass escape sequences. To find escape codes for bindings
447 #    like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside
448 #    of tmux. Note that applications use terminfo to map escape sequences back
449 #    to keys. It is therefore required to update the terminfo when changing an
450 #    escape sequence.
451 #
452 # - `action`: Execute a predefined action
453 #
454 #   - ToggleViMode
455 #   - Copy
456 #   - Paste
457 #   - PasteSelection
458 #   - IncreaseFontSize
459 #   - DecreaseFontSize
460 #   - ResetFontSize
461 #   - ScrollPageUp
462 #   - ScrollPageDown
463 #   - ScrollLineUp
464 #   - ScrollLineDown
465 #   - ScrollToTop
466 #   - ScrollToBottom
467 #   - ClearHistory
468 #   - Hide
469 #   - Minimize
470 #   - Quit
471 #   - ToggleFullscreen
472 #   - SpawnNewInstance
473 #   - ClearLogNotice
474 #   - ClearSelection
475 #   - ReceiveChar
476 #   - None
477 #
478 #   (`mode: Vi` only):
479 #   - Open
480 #   - Up
481 #   - Down
482 #   - Left
483 #   - Right
484 #   - First
485 #   - Last
486 #   - FirstOccupied
487 #   - High
488 #   - Middle
489 #   - Low
490 #   - SemanticLeft
491 #   - SemanticRight
492 #   - SemanticLeftEnd
493 #   - SemanticRightEnd
494 #   - WordRight
495 #   - WordLeft
496 #   - WordRightEnd
497 #   - WordLeftEnd
498 #   - Bracket
499 #   - ToggleNormalSelection
500 #   - ToggleLineSelection
501 #   - ToggleBlockSelection
502 #   - ToggleSemanticSelection
503 #
504 #   (macOS only):
505 #   - ToggleSimpleFullscreen: Enters fullscreen without occupying another space
506 #
507 #   (Linux/BSD only):
508 #   - CopySelection: Copies into selection buffer
509 #
510 # - `command`: Fork and execute a specified command plus arguments
511 #
512 #    The `command` field must be a map containing a `program` string and an
513 #    `args` array of command line parameter strings. For example:
514 #       `{ program: "alacritty", args: ["-e", "vttest"] }`
515 #
516 # And optionally:
517 #
518 # - `mods`: Key modifiers to filter binding actions
519 #
520 #    - Command
521 #    - Control
522 #    - Option
523 #    - Super
524 #    - Shift
525 #    - Alt
526 #
527 #    Multiple `mods` can be combined using `|` like this:
528 #       `mods: Control|Shift`.
529 #    Whitespace and capitalization are relevant and must match the example.
530 #
531 # - `mode`: Indicate a binding for only specific terminal reported modes
532 #
533 #    This is mainly used to send applications the correct escape sequences
534 #    when in different modes.
535 #
536 #    - AppCursor
537 #    - AppKeypad
538 #    - Alt
539 #
540 #    A `~` operator can be used before a mode to apply the binding whenever
541 #    the mode is *not* active, e.g. `~Alt`.
542 #
543 # Bindings are always filled by default, but will be replaced when a new
544 # binding with the same triggers is defined. To unset a default binding, it can
545 # be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
546 # a no-op if you do not wish to receive input characters for that binding.
547 #
548 # If the same trigger is assigned to multiple actions, all of them are executed
549 # at once.
550 #key_bindings:
551   #- { key: Paste,                                action: Paste          }
552   #- { key: Copy,                                 action: Copy           }
553   #- { key: L,         mods: Control,             action: ClearLogNotice }
554   #- { key: L,         mods: Control, mode: ~Vi,  chars: "\x0c"          }
555   #- { key: PageUp,    mods: Shift,   mode: ~Alt, action: ScrollPageUp,  }
556   #- { key: PageDown,  mods: Shift,   mode: ~Alt, action: ScrollPageDown }
557   #- { key: Home,      mods: Shift,   mode: ~Alt, action: ScrollToTop,   }
558   #- { key: End,       mods: Shift,   mode: ~Alt, action: ScrollToBottom }
559
560   # Vi Mode
561   #- { key: Space,  mods: Shift|Control, mode: Vi, action: ScrollToBottom          }
562   #- { key: Space,  mods: Shift|Control,           action: ToggleViMode            }
563   #- { key: Escape,                      mode: Vi, action: ClearSelection          }
564   #- { key: I,                           mode: Vi, action: ScrollToBottom          }
565   #- { key: I,                           mode: Vi, action: ToggleViMode            }
566   #- { key: Y,      mods: Control,       mode: Vi, action: ScrollLineUp            }
567   #- { key: E,      mods: Control,       mode: Vi, action: ScrollLineDown          }
568   #- { key: G,                           mode: Vi, action: ScrollToTop             }
569   #- { key: G,      mods: Shift,         mode: Vi, action: ScrollToBottom          }
570   #- { key: B,      mods: Control,       mode: Vi, action: ScrollPageUp            }
571   #- { key: F,      mods: Control,       mode: Vi, action: ScrollPageDown          }
572   #- { key: U,      mods: Control,       mode: Vi, action: ScrollHalfPageUp        }
573   #- { key: D,      mods: Control,       mode: Vi, action: ScrollHalfPageDown      }
574   #- { key: Y,                           mode: Vi, action: Copy                    }
575   #- { key: Y,                           mode: Vi, action: ClearSelection          }
576   #- { key: Copy,                        mode: Vi, action: ClearSelection          }
577   #- { key: V,                           mode: Vi, action: ToggleNormalSelection   }
578   #- { key: V,      mods: Shift,         mode: Vi, action: ToggleLineSelection     }
579   #- { key: V,      mods: Control,       mode: Vi, action: ToggleBlockSelection    }
580   #- { key: V,      mods: Alt,           mode: Vi, action: ToggleSemanticSelection }
581   #- { key: Return,                      mode: Vi, action: Open                    }
582   #- { key: K,                           mode: Vi, action: Up                      }
583   #- { key: J,                           mode: Vi, action: Down                    }
584   #- { key: H,                           mode: Vi, action: Left                    }
585   #- { key: L,                           mode: Vi, action: Right                   }
586   #- { key: Up,                          mode: Vi, action: Up                      }
587   #- { key: Down,                        mode: Vi, action: Down                    }
588   #- { key: Left,                        mode: Vi, action: Left                    }
589   #- { key: Right,                       mode: Vi, action: Right                   }
590   #- { key: Key0,                        mode: Vi, action: First                   }
591   #- { key: Key4,   mods: Shift,         mode: Vi, action: Last                    }
592   #- { key: Key6,   mods: Shift,         mode: Vi, action: FirstOccupied           }
593   #- { key: H,      mods: Shift,         mode: Vi, action: High                    }
594   #- { key: M,      mods: Shift,         mode: Vi, action: Middle                  }
595   #- { key: L,      mods: Shift,         mode: Vi, action: Low                     }
596   #- { key: B,                           mode: Vi, action: SemanticLeft            }
597   #- { key: W,                           mode: Vi, action: SemanticRight           }
598   #- { key: E,                           mode: Vi, action: SemanticRightEnd        }
599   #- { key: B,      mods: Shift,         mode: Vi, action: WordLeft                }
600   #- { key: W,      mods: Shift,         mode: Vi, action: WordRight               }
601   #- { key: E,      mods: Shift,         mode: Vi, action: WordRightEnd            }
602   #- { key: Key5,   mods: Shift,         mode: Vi, action: Bracket                 }
603
604   # (Windows, Linux, and BSD only)
605   #- { key: V,        mods: Control|Shift,           action: Paste            }
606   #- { key: C,        mods: Control|Shift,           action: Copy             }
607   #- { key: C,        mods: Control|Shift, mode: Vi, action: ClearSelection   }
608   #- { key: Insert,   mods: Shift,                   action: PasteSelection   }
609   #- { key: Key0,     mods: Control,                 action: ResetFontSize    }
610   #- { key: Equals,   mods: Control,                 action: IncreaseFontSize }
611   #- { key: Add,      mods: Control,                 action: IncreaseFontSize }
612   #- { key: Subtract, mods: Control,                 action: DecreaseFontSize }
613   #- { key: Minus,    mods: Control,                 action: DecreaseFontSize }
614
615   # (Windows only)
616   #- { key: Return,   mods: Alt,           action: ToggleFullscreen }
617
618   # (macOS only)
619   #- { key: K,      mods: Command, mode: ~Vi, chars: "\x0c"            }
620   #- { key: Key0,   mods: Command,            action: ResetFontSize    }
621   #- { key: Equals, mods: Command,            action: IncreaseFontSize }
622   #- { key: Add,    mods: Command,            action: IncreaseFontSize }
623   #- { key: Minus,  mods: Command,            action: DecreaseFontSize }
624   #- { key: K,      mods: Command,            action: ClearHistory     }
625   #- { key: V,      mods: Command,            action: Paste            }
626   #- { key: C,      mods: Command,            action: Copy             }
627   #- { key: C,      mods: Command, mode: Vi,  action: ClearSelection   }
628   #- { key: H,      mods: Command,            action: Hide             }
629   #- { key: M,      mods: Command,            action: Minimize         }
630   #- { key: Q,      mods: Command,            action: Quit             }
631   #- { key: W,      mods: Command,            action: Quit             }
632   #- { key: N,      mods: Command,            action: SpawnNewInstance }
633   #- { key: F,      mods: Command|Control,    action: ToggleFullscreen }
634
635 #debug:
636   # Display the time it takes to redraw each frame.
637   #render_timer: false
638
639   # Keep the log file after quitting Alacritty.
640   #persistent_logging: false
641
642   # Log level
643   #
644   # Values for `log_level`:
645   #   - None
646   #   - Error
647   #   - Warn
648   #   - Info
649   #   - Debug
650   #   - Trace
651   #log_level: Warn
652
653   # Print all received window events.
654   #print_events: false
655 #Font configuration (changes require restart)
656 font:
657   family: DejaVu Sans Mono
658   style: Book
659   bold_style: Bold 
660   italic_style: Italic