alacritty.yml (11892B)
1 env: 2 TERM: xterm-256color 3 4 window: 5 dimensions: 6 columns: 80 7 lines: 24 8 9 padding: 10 x: 2 11 y: 2 12 13 decorations: full 14 15 draw_bold_text_with_bright_colors: true 16 17 font: 18 normal: 19 family: Fira Code 20 bold: 21 family: Fira Code 22 italic: 23 family: Fira Code 24 size: 11.0 25 offset: 26 x: 0 27 y: 0 28 glyph_offset: 29 x: 0 30 y: 0 31 use_thin_strokes: true 32 33 cursor: 34 style: Underline 35 hide_when_typing: false 36 37 # Colors (Tomorrow Night Bright) 38 colors: 39 # Default colors 40 primary: 41 background: '0x282c34' 42 foreground: '0xbbc2cf' 43 44 # Colors the cursor will use if `custom_cursor_colors` is true 45 cursor: 46 text: '0x000000' 47 cursor: '0xffffff' 48 49 # Normal colors 50 normal: 51 black: '0x282c34' 52 red: '0xff6c6b' 53 green: '0x98be65' 54 yellow: '0xecbe7b' 55 blue: '0x51afef' 56 magenta: '0xc678dd' 57 cyan: '0x46d9ff' 58 white: '0xbbc2cf' 59 60 # Bright colors 61 bright: 62 black: '0x666666' 63 red: '0xff3334' 64 green: '0x9ec400' 65 yellow: '0xe7c547' 66 blue: '0x7aa6da' 67 magenta: '0xb77ee0' 68 cyan: '0x54ced6' 69 white: '0xffffff' 70 71 # Dim colors (Optional) 72 dim: 73 black: '0x333333' 74 red: '0xf2777a' 75 green: '0x99cc99' 76 yellow: '0xffcc66' 77 blue: '0x6699cc' 78 magenta: '0xcc99cc' 79 cyan: '0x66cccc' 80 white: '0xdddddd' 81 82 visual_bell: 83 animation: EaseOutExpo 84 duration: 0 85 86 # Background opacity 87 background_opacity: 1.0 88 89 mouse_bindings: 90 - { mouse: Middle, action: PasteSelection } 91 - { mouse: Right, action: Paste } 92 93 mouse: 94 double_click: { threshold: 300 } 95 triple_click: { threshold: 300 } 96 faux_scrolling_lines: 1 97 98 scrolling: 99 history: 10000 100 multiplier: 3 101 102 selection: 103 semantic_escape_chars: ",│`|:\"' ()[]{}<>" 104 105 dynamic_title: true 106 107 live_config_reload: true 108 109 # Shell 110 # 111 # You can set shell.program to the path of your favorite shell, e.g. /bin/fish. 112 # Entries in shell.args are passed unmodified as arguments to the shell. 113 # 114 # shell: 115 # program: /bin/bash 116 # args: 117 # - --login 118 119 # Key bindings 120 # 121 # Each binding is defined as an object with some properties. Most of the 122 # properties are optional. All of the alphabetical keys should have a letter for 123 # the `key` value such as `V`. Function keys are probably what you would expect 124 # as well (F1, F2, ..). The number keys above the main keyboard are encoded as 125 # `Key1`, `Key2`, etc. Keys on the number pad are encoded `Number1`, `Number2`, 126 # etc. These all match the glutin::VirtualKeyCode variants. 127 # 128 # A list with all available `key` names can be found here: 129 # https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants 130 # 131 # Possible values for `mods` 132 # `Command`, `Super` refer to the super/command/windows key 133 # `Control` for the control key 134 # `Shift` for the Shift key 135 # `Alt` and `Option` refer to alt/option 136 # 137 # mods may be combined with a `|`. For example, requiring control and shift 138 # looks like: 139 # 140 # mods: Control|Shift 141 # 142 # The parser is currently quite sensitive to whitespace and capitalization - 143 # capitalization must match exactly, and piped items must not have whitespace 144 # around them. 145 # 146 # Either an `action`, `chars`, or `command` field must be present. 147 # `action` must be one of `Paste`, `PasteSelection`, `Copy`, or `Quit`. 148 # `chars` writes the specified string every time that binding is activated. 149 # These should generally be escape sequences, but they can be configured to 150 # send arbitrary strings of bytes. 151 # `command` must be a map containing a `program` string, and `args` array of 152 # strings. For example: 153 # - { ... , command: { program: "alacritty", args: ["-e", "vttest"] } } 154 # 155 # Want to add a binding (e.g. "PageUp") but are unsure what the X sequence 156 # (e.g. "\x1b[5~") is? Open another terminal (like xterm) without tmux, 157 # then run `showkey -a` to get the sequence associated to a key combination. 158 key_bindings: 159 - { key: V, mods: Control|Shift, action: Paste } 160 - { key: C, mods: Control|Shift, action: Copy } 161 - { key: Q, mods: Command, action: Quit } 162 - { key: W, mods: Command, action: Quit } 163 - { key: Insert, mods: Shift, action: PasteSelection } 164 - { key: Key0, mods: Control, action: ResetFontSize } 165 - { key: Equals, mods: Control, action: IncreaseFontSize } 166 - { key: Subtract, mods: Control, action: DecreaseFontSize } 167 # - { key: Home, mods: Shift, action: ScrollToTop } 168 - { key: Home, chars: "\x1bOH", mode: AppCursor } 169 - { key: Home, chars: "\x1b[H", mode: ~AppCursor } 170 # - { key: End, mods: Shift, action: ScrollToBottom } 171 - { key: End, chars: "\x1bOF", mode: AppCursor } 172 - { key: End, chars: "\x1b[F", mode: ~AppCursor } 173 # - { key: PageUp, mods: Shift, action: ScrollPageUp } 174 - { key: PageUp, mods: Shift, chars: "\x1b[5;2~" } 175 - { key: PageUp, mods: Control, chars: "\x1b[5;5~" } 176 - { key: PageUp, chars: "\x1b[5~" } 177 # - { key: PageDown, mods: Shift, action: ScrollPageDown } 178 - { key: PageDown, mods: Shift, chars: "\x1b[6;2~" } 179 - { key: PageDown, mods: Control, chars: "\x1b[6;5~" } 180 - { key: PageDown, chars: "\x1b[6~" } 181 - { key: Tab, mods: Shift, chars: "\x1b[Z" } 182 - { key: Back, chars: "\x7f" } 183 - { key: Back, mods: Alt, chars: "\x1b\x7f" } 184 - { key: Insert, chars: "\x1b[2~" } 185 - { key: Delete, chars: "\x1b[3~" } 186 - { key: Left, mods: Shift, chars: "\x1b[1;2D" } 187 - { key: Left, mods: Control, chars: "\x1b[1;5D" } 188 - { key: Left, mods: Alt, chars: "\x1b[1;3D" } 189 - { key: Left, chars: "\x1b[D", mode: ~AppCursor } 190 - { key: Left, chars: "\x1bOD", mode: AppCursor } 191 - { key: Right, mods: Shift, chars: "\x1b[1;2C" } 192 - { key: Right, mods: Control, chars: "\x1b[1;5C" } 193 - { key: Right, mods: Alt, chars: "\x1b[1;3C" } 194 - { key: Right, chars: "\x1b[C", mode: ~AppCursor } 195 - { key: Right, chars: "\x1bOC", mode: AppCursor } 196 - { key: Up, mods: Shift, chars: "\x1b[1;2A" } 197 - { key: Up, mods: Control, chars: "\x1b[1;5A" } 198 - { key: Up, mods: Alt, chars: "\x1b[1;3A" } 199 - { key: Up, chars: "\x1b[A", mode: ~AppCursor } 200 - { key: Up, chars: "\x1bOA", mode: AppCursor } 201 - { key: Down, mods: Shift, chars: "\x1b[1;2B" } 202 - { key: Down, mods: Control, chars: "\x1b[1;5B" } 203 - { key: Down, mods: Alt, chars: "\x1b[1;3B" } 204 - { key: Down, chars: "\x1b[B", mode: ~AppCursor } 205 - { key: Down, chars: "\x1bOB", mode: AppCursor } 206 - { key: F1, chars: "\x1bOP" } 207 - { key: F2, chars: "\x1bOQ" } 208 - { key: F3, chars: "\x1bOR" } 209 - { key: F4, chars: "\x1bOS" } 210 - { key: F5, chars: "\x1b[15~" } 211 - { key: F6, chars: "\x1b[17~" } 212 - { key: F7, chars: "\x1b[18~" } 213 - { key: F8, chars: "\x1b[19~" } 214 - { key: F9, chars: "\x1b[20~" } 215 - { key: F10, chars: "\x1b[21~" } 216 - { key: F11, chars: "\x1b[23~" } 217 - { key: F12, chars: "\x1b[24~" } 218 - { key: F1, mods: Shift, chars: "\x1b[1;2P" } 219 - { key: F2, mods: Shift, chars: "\x1b[1;2Q" } 220 - { key: F3, mods: Shift, chars: "\x1b[1;2R" } 221 - { key: F4, mods: Shift, chars: "\x1b[1;2S" } 222 - { key: F5, mods: Shift, chars: "\x1b[15;2~" } 223 - { key: F6, mods: Shift, chars: "\x1b[17;2~" } 224 - { key: F7, mods: Shift, chars: "\x1b[18;2~" } 225 - { key: F8, mods: Shift, chars: "\x1b[19;2~" } 226 - { key: F9, mods: Shift, chars: "\x1b[20;2~" } 227 - { key: F10, mods: Shift, chars: "\x1b[21;2~" } 228 - { key: F11, mods: Shift, chars: "\x1b[23;2~" } 229 - { key: F12, mods: Shift, chars: "\x1b[24;2~" } 230 - { key: F1, mods: Control, chars: "\x1b[1;5P" } 231 - { key: F2, mods: Control, chars: "\x1b[1;5Q" } 232 - { key: F3, mods: Control, chars: "\x1b[1;5R" } 233 - { key: F4, mods: Control, chars: "\x1b[1;5S" } 234 - { key: F5, mods: Control, chars: "\x1b[15;5~" } 235 - { key: F6, mods: Control, chars: "\x1b[17;5~" } 236 - { key: F7, mods: Control, chars: "\x1b[18;5~" } 237 - { key: F8, mods: Control, chars: "\x1b[19;5~" } 238 - { key: F9, mods: Control, chars: "\x1b[20;5~" } 239 - { key: F10, mods: Control, chars: "\x1b[21;5~" } 240 - { key: F11, mods: Control, chars: "\x1b[23;5~" } 241 - { key: F12, mods: Control, chars: "\x1b[24;5~" } 242 - { key: F1, mods: Alt, chars: "\x1b[1;6P" } 243 - { key: F2, mods: Alt, chars: "\x1b[1;6Q" } 244 - { key: F3, mods: Alt, chars: "\x1b[1;6R" } 245 - { key: F4, mods: Alt, chars: "\x1b[1;6S" } 246 - { key: F5, mods: Alt, chars: "\x1b[15;6~" } 247 - { key: F6, mods: Alt, chars: "\x1b[17;6~" } 248 - { key: F7, mods: Alt, chars: "\x1b[18;6~" } 249 - { key: F8, mods: Alt, chars: "\x1b[19;6~" } 250 - { key: F9, mods: Alt, chars: "\x1b[20;6~" } 251 - { key: F10, mods: Alt, chars: "\x1b[21;6~" } 252 - { key: F11, mods: Alt, chars: "\x1b[23;6~" } 253 - { key: F12, mods: Alt, chars: "\x1b[24;6~" } 254 - { key: F1, mods: Super, chars: "\x1b[1;3P" } 255 - { key: F2, mods: Super, chars: "\x1b[1;3Q" } 256 - { key: F3, mods: Super, chars: "\x1b[1;3R" } 257 - { key: F4, mods: Super, chars: "\x1b[1;3S" } 258 - { key: F5, mods: Super, chars: "\x1b[15;3~" } 259 - { key: F6, mods: Super, chars: "\x1b[17;3~" } 260 - { key: F7, mods: Super, chars: "\x1b[18;3~" } 261 - { key: F8, mods: Super, chars: "\x1b[19;3~" } 262 - { key: F9, mods: Super, chars: "\x1b[20;3~" } 263 - { key: F10, mods: Super, chars: "\x1b[21;3~" } 264 - { key: F11, mods: Super, chars: "\x1b[23;3~" } 265 - { key: F12, mods: Super, chars: "\x1b[24;3~" }