summaryrefslogtreecommitdiff
path: root/.config/alacritty/alacritty.yml
blob: d8570de94a561b6a31d68089f49fe237e47e7ffe (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
# draw_bold_text_with_bright_colors: true
# Set this if using macOS
# alt_send_esc: false

colors:
  # Default colors
  primary:
    background: '#232731'
    foreground: '#d8d8d8'

  # Colors the cursor will use if `custom_cursor_colors` is true
  cursor:
    text: '#303030'
    cursor: '#d8d8d8'

  # Normal colors
  normal:
    black:   '#121212'
    red:     '#d75f5f'
    green:   '#a1b56c'
    yellow:  '#f7ca88'
    blue:    '#87afff'
    magenta: '#d7afff'
    cyan:    '#86c1b9'
    white:   '#d8d8d8'

  # Bright colors
  bright:
    black:   '#585858'
    red:     '#ab4642'
    green:   '#a1b56c'
    yellow:  '#f7ca88'
    blue:    '#7cafc2'
    magenta: '#ba8baf'
    cyan:    '#86c1b9'
    white:   '#f8f8f8'

background_opacity: 1.0 

font:
  # The normal (roman) font face to use.
  normal:
    family: SpaceMono Nerd Font 
    # Style can be specified to pick a specific face.
    style: Regular

  # The bold font face
  bold:
    family: SpaceMono Nerd Font 
    # Style can be specified to pick a specific face.
    # style: Bold

  # The italic font face
  italic:
    family: SpaceMono Nerd Font 
    # Style can be specified to pick a specific face.
    # style: Italic
  size: 8.0

  offset:
    x: 0
    y: 0
  glyph_offset:
    x: 0
    y: 0

env:
  TERM: xterm-256color

window:
  padding:
    x: 16
    y: 10
  # scrolling:
  #   # Maximum number of lines in the scrollback buffer.
  #   # Specifying '0' will disable scrolling.
  history: 10000
  #   # Number of lines the viewport will move for every line scrolled when
  #   # scrollback is enabled (history > 0).
  #   multiplier: 10
  decorations: none
  # # If `true`, bold text is drawn using the bright color variants.
  # draw_bold_text_with_bright_colors: true

  # selection:
  semantic_escape_chars: ',│`|:"'' ()[]{}<>'
  save_to_clipboard: true
  live_config_reload: true
key_bindings:
  - { key: V, mods: Control|Shift, action: Paste }
  - { key: C, mods: Control|Shift, action: Copy }
  - { key: Key0, mods: Control, action: ResetFontSize }
  - { key: Equals, mods: Control, action: IncreaseFontSize }
  # - { key: Add, mods: Control, action: IncreaseFontSize }
  # - { key: Subtract, mods: Control, action: DecreaseFontSize }    
  # Vi mode
  - { key: LBracket, mods: Control|Alt,  action: ToggleViMode  }
  - { key: Q,        mode: Vi,           action: ToggleViMode  }
  - { key: H,        mods: Shift, mode: Vi,  action: First     }
  - { key: L,        mods: Shift, mode: Vi,  action: Last      }
  - { key: Minus, mods: Control, action: DecreaseFontSize }
  - { key: N, mods: Control, action: SpawnNewInstance }