aboutsummaryrefslogtreecommitdiffstats
path: root/.config/alacritty/main.yml
blob: be6feeedd34a8c8ad97c455cb1aff7c798c8d5b9 (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
env:
  TERM: alacritty

window:
  dimensions:
    columns: 0
    lines: 0
  padding:
    x: 0
    y: 0
  dynamic_padding: true
  decorations: none
  startup_mode: Windowed
  title: alacritty
  dynamic_title: true
  class:
    instance: alacritty
    general: alacritty

scrolling:
  history: 16384

hints:
  alphabet: "fjeksl"
  enabled:
  - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
            [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
    action: Copy
    post_processing: true
    mouse:
      enabled: true
      mods: None
    binding:
      key: U
      mods: Alt

cursor:
  style:
    shape: Block
    blinking: On
  blink_interval: 500
  unfocused_hollow: true

draw_bold_text_with_bright_colors: true

key_bindings:
  - { key: L, mods: Control,                    action: ClearLogNotice }
  - { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c"          }

  - { key: Escape, mods: Alt,     mode: ~Search,    action: ToggleViMode            }
  - { key: Escape,                mode: Vi|~Search, action: ToggleViMode            }
  - { key: G,                     mode: Vi|~Search, action: ScrollToTop             }
  - { key: G,      mods: Shift,   mode: Vi|~Search, action: ScrollToBottom          }
  - { key: B,      mods: Control, mode: Vi|~Search, action: ScrollPageUp            }
  - { key: F,      mods: Control, mode: Vi|~Search, action: ScrollPageDown          }
  - { key: U,      mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp        }
  - { key: D,      mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown      }
  - { key: Y,                     mode: Vi|~Search, action: Copy                    }
  - { key: Y,                     mode: Vi|~Search, action: ClearSelection          }
  - { key: V,                     mode: Vi|~Search, action: ToggleNormalSelection   }
  - { key: V,      mods: Shift,   mode: Vi|~Search, action: ToggleLineSelection     }
  - { key: V,      mods: Control, mode: Vi|~Search, action: ToggleBlockSelection    }
  - { key: V,      mods: Alt,     mode: Vi|~Search, action: ToggleSemanticSelection }
  - { key: K,                     mode: Vi|~Search, action: Up                      }
  - { key: J,                     mode: Vi|~Search, action: Down                    }
  - { key: H,                     mode: Vi|~Search, action: Left                    }
  - { key: L,                     mode: Vi|~Search, action: Right                   }
  - { key: Key0,                  mode: Vi|~Search, action: First                   }
  - { key: 5,      mods: Shift,   mode: Vi|~Search, action: Last                    }
  - { key: 7,      mods: Shift,   mode: Vi|~Search, action: FirstOccupied           }
  - { key: H,      mods: Shift,   mode: Vi|~Search, action: High                    }
  - { key: M,      mods: Shift,   mode: Vi|~Search, action: Middle                  }
  - { key: L,      mods: Shift,   mode: Vi|~Search, action: Low                     }
  - { key: B,                     mode: Vi|~Search, action: SemanticLeft            }
  - { key: W,                     mode: Vi|~Search, action: SemanticRight           }
  - { key: E,                     mode: Vi|~Search, action: SemanticRightEnd        }
  - { key: B,      mods: Shift,   mode: Vi|~Search, action: WordLeft                }
  - { key: W,      mods: Shift,   mode: Vi|~Search, action: WordRight               }
  - { key: E,      mods: Shift,   mode: Vi|~Search, action: WordRightEnd            }
  - { key: 6,      mods: Shift,   mode: Vi|~Search, action: Bracket                 }
  - { key: Slash,                 mode: Vi|~Search, action: SearchForward           }
  - { key: N,                     mode: Vi|~Search, action: SearchNext              }
  - { key: N,      mods: Shift,   mode: Vi|~Search, action: SearchPrevious          }

  - { key: Return,                mode: Search|Vi,  action: SearchConfirm         }
  - { key: Escape,                mode: Search,     action: SearchCancel          }
  - { key: C,      mods: Control, mode: Search,     action: SearchCancel          }
  - { key: U,      mods: Control, mode: Search,     action: SearchClear           }
  - { key: W,      mods: Control, mode: Search,     action: SearchDeleteWord      }
  - { key: P,      mods: Control, mode: Search,     action: SearchHistoryPrevious }
  - { key: N,      mods: Control, mode: Search,     action: SearchHistoryNext     }
  - { key: Up,                    mode: Search,     action: SearchHistoryPrevious }
  - { key: Down,                  mode: Search,     action: SearchHistoryNext     }

  - { key: V,     mods: Alt,       mode: ~Vi,     action: Paste          }
  - { key: Slash, mods: Alt,       mode: ~Search, action: SearchForward  }
  - { key: Slash, mods: Alt|Shift, mode: ~Search, action: SearchBackward }