summaryrefslogtreecommitdiff
path: root/.config/alacritty.yml
blob: f0ba8ef26de86ed82ecb8c86252276b01d3d0ee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
shell:
  program: /bin/bash
  args:
    - '--login'
 
window:
  dimensions:
    columns: 80
    lines: 37
  opacity: 0.86
  resize_increments: true
  option_as_alt: Both
  alt_send_esc: true
 
font:
  normal:
    family: 'DejaVuSansM Nerd Font Mono'
  bold:
    family: 'DejaVuSansM Nerd Font Mono'
  italic:
    family: 'DejaVuSansM Nerd Font Mono'
    style: 'Oblique'
  bold_italic:
    family: 'DejaVuSansM Nerd Font Mono'
    style: 'Bold Oblique'
  size: 8.0
  builtin_box_drawing: false
 
# theme: high-contrast, plus the blues from github-dark, from 
# https://github.com/alacritty/alacritty-theme 
colors:
  # Default colors 
  primary:
    background: '0x444444'
    foreground: '0xdddddd'
 
  # Colors the cursor will use if `custom_cursor_colors` is true 
  cursor:
    text: '0xaaaaaa'
    cursor: '0xffffff'
 
  # Normal colors 
  normal:
    black:   '0x000000'
    red:     '0xff0000'
    green:   '0x00ff00'
    yellow:  '0xffff00'
    blue:    '0x2188ff'
    magenta: '0xff00ff'
    cyan:    '0x00ffff'
    white:   '0xffffff'
 
  # Bright colors 
  bright:
    black:   '0x000000'
    red:     '0xff0000'
    green:   '0x00ff00'
    yellow:  '0xffff00'
    blue:    '0x79b8ff'
    magenta: '0xff00ff'
    cyan:    '0x00ffff'
    white:   '0xffffff'
 
draw_bold_text_with_bright_colors: true
 
selection:
  semantic_escape_chars: " !@#$%^&*(){}[]'\",.<>/?=+-\\|`~;:"
 
hints:
  alphabet: "aoeuidhtns"
  enabled:
    regex: "(mailto|http|https):[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
      hyperlinks: true
      command: xdg-open
      post_processing: true
      mouse:
        enabled: true
        mods: Command
      binding:
        key: Return
        mods: Control|Command
 
key_bindings:
  # Option key remapping 
  { key: A,         mods: Command,       chars: "\x1ba"                       }
  { key: B,         mods: Command,       chars: "\x1bb"                       }
  { key: C,         mods: Command,       chars: "\x1bc"                       }
  { key: D,         mods: Command,       chars: "\x1bd"                       }
  { key: E,         mods: Command,       chars: "\x1be"                       }
  { key: F,         mods: Command,       chars: "\x1bf"                       }
  { key: G,         mods: Command,       chars: "\x1bg"                       }
  { key: H,         mods: Command,       chars: "\x1bh"                       }
  { key: I,         mods: Command,       chars: "\x1bi"                       }
  { key: J,         mods: Command,       chars: "\x1bj"                       }
  { key: K,         mods: Command,       chars: "\x1bk"                       }
  { key: L,         mods: Command,       chars: "\x1bl"                       }
  { key: M,         mods: Command,       chars: "\x1bm"                       }
  { key: N,         mods: Command,       chars: "\x1bn"                       }
  { key: O,         mods: Command,       chars: "\x1bo"                       }
  { key: P,         mods: Command,       chars: "\x1bp"                       }
  { key: Q,         mods: Command,       chars: "\x1bq"                       }
  { key: R,         mods: Command,       chars: "\x1br"                       }
  { key: S,         mods: Command,       chars: "\x1bs"                       }
  { key: T,         mods: Command,       chars: "\x1bt"                       }
  { key: U,         mods: Command,       chars: "\x1bu"                       }
  { key: V,         mods: Command,       chars: "\x1bv"                       }
  { key: W,         mods: Command,       chars: "\x1bw"                       }
  { key: X,         mods: Command,       chars: "\x1bx"                       }
  { key: Y,         mods: Command,       chars: "\x1by"                       }
  { key: Z,         mods: Command,       chars: "\x1bz"                       }
  { key: Key1,      mods: Command,       chars: "\x1b1"                       }
  { key: Key2,      mods: Command,       chars: "\x1b2"                       }
  { key: Key3,      mods: Command,       chars: "\x1b3"                       }
  { key: Key4,      mods: Command,       chars: "\x1b4"                       }
  { key: Key5,      mods: Command,       chars: "\x1b5"                       }
  { key: Key6,      mods: Command,       chars: "\x1b6"                       }
  { key: Key7,      mods: Command,       chars: "\x1b7"                       }
  { key: Key8,      mods: Command,       chars: "\x1b8"                       }
  { key: Key9,      mods: Command,       chars: "\x1b9"                       }
  { key: Key0,      mods: Command,       chars: "\x1b0"                       }
  { key: Grave,     mods: Command,       chars: "\x1b`"                       } # Command + ` 
  { key: Grave,     mods: Command|Shift, chars: "\x1b~"                       } # Command + ~ 
  { key: Period,    mods: Command,       chars: "\x1b."                       } # Command + . 
  { key: Key8,      mods: Command|Shift, chars: "\x1b*"                       } # Command + * 
  { key: Key3,      mods: Command|Shift, chars: "\x1b#"                       } # Command + # 
  { key: Period,    mods: Command|Shift, chars: "\x1b>"                       } # Command + > 
  { key: Comma,     mods: Command|Shift, chars: "\x1b<"                       } # Command + < 
  { key: Minus,     mods: Command|Shift, chars: "\x1b_"                       } # Command + _ 
  { key: Key5,      mods: Command|Shift, chars: "\x1b%"                       } # Command + % 
  { key: Key6,      mods: Command|Shift, chars: "\x1b^"                       } # Command + ^ 
  { key: Backslash, mods: Command,       chars: "\x1b\\"                      } # Command + \ 
  { key: Backslash, mods: Command|Shift, chars: "\x1b|"                       } # Command + | 
  { key: Back,      mods: Command,       chars: "\x1b\x7f"                    } # Command + Backspace