summaryrefslogtreecommitdiff
path: root/.config/alacritty/alacritty.yml
blob: c0fc61c7610c2335701d5746add579346453ae45 (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
# Window Customization
window:
  opacity: 0.95
  dimensions:
    columns: 122
    lines: 50
  # padding:
  #   x: 10
  #   y: 10
  dynamic_padding: true
  decorations: none
scrolling:
  history: 10000
  multiplier: 11
window.dynamic_title: false

env:
  WINIT_X11_SCALE_FACTOR: "1.0"

# Font configuration (changes require restart)
font:
  # The normal (roman) font face to use.
  normal:
    family: Jetbrains Mono
    # Style can be specified to pick a specific face.
    style: Regular

  # The bold font face
  bold:
    family: Jetbrains Mono
    # Style can be specified to pick a specific face.
    style: Bold

  # The italic font face
  italic:
    family:  Jetbrains Mono
    # Style can be specified to pick a specific face.
    style: italic


# XTerm's default colors
colors:
  # Default colors
  primary:
    background: '0x000000'
    foreground: '0xffffff'
  # Normal colors
  normal:
    black:   '#000000'
    red:     '#cd0000'
    green:   '#00cd00'
    yellow:  '#cdcd00'
    blue:    '#0000ee'
    magenta: '#cd00cd'
    cyan:    '#00cdcd'
    white:   '#e5e5e5'

  # Bright colors
  bright:
    black:   '#7f7f7f'
    red:     '#ff0000'
    green:   '#00ff00'
    yellow:  '#ffff00'
    blue:    '#5c5cff'
    magenta: '#ff00ff'
    cyan:    '#00ffff'
    white:   '#ffffff'

# Indexed Colors
  #
  # The indexed colors include all colors from 16 to 256.
  # When these are not set, they're filled with sensible defaults.
  #indexed_colors:
  #  - { index: 16, color: '0x000000' }

# Extras
hide_cursor_when_typing: true

cursor:
  style: Block
  #blinking: Always
  #blink_interval: 750
  unfocused_hollow: true


key_bindings:
  # (Windows, Linux, and BSD only)
  - { key: V, mods: Control|Shift, action: Paste }
  - { key: C, mods: Control|Shift, action: Copy }
  - { key: Insert, mods: Shift, action: PasteSelection }
  - { key: Key0, mods: Control, action: ResetFontSize }
  - { key: Equals, mods: Control, action: IncreaseFontSize }
  - { key: Plus, mods: Control, action: IncreaseFontSize }
  - { key: Minus, mods: Control, action: DecreaseFontSize }
  - { key: F11, mods: None, action: ToggleFullscreen }
  - { key: Paste, mods: None, action: Paste }
  - { key: Copy, mods: None, action: Copy }
  - { key: L, mods: Control, action: ClearLogNotice }
  - { key: L, mods: Control, chars: "\x0c" }
  - { key: PageUp, mods: None, action: ScrollPageUp, mode: ~Alt }
  - { key: PageDown, mods: None, action: ScrollPageDown, mode: ~Alt }
  - { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt }
  - { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt }