244 lines
7.6 KiB
YAML
244 lines
7.6 KiB
YAML
env:
|
|
TERM: alacritty
|
|
|
|
window:
|
|
|
|
padding:
|
|
x: 8
|
|
y: 8
|
|
|
|
dynamic_padding: true
|
|
|
|
startup_mode: Windowed
|
|
|
|
title: Alacritty
|
|
|
|
dynamic_title: true
|
|
|
|
class:
|
|
instance: Alacritty
|
|
general: Alacritty
|
|
|
|
decorations_theme_variant: None
|
|
|
|
scrolling:
|
|
history: 10000
|
|
|
|
font:
|
|
normal:
|
|
family: CodeNewRoman Nerd Font
|
|
style: Regular
|
|
|
|
bold:
|
|
family: monospace
|
|
style: Bold
|
|
|
|
italic:
|
|
family: monospace
|
|
style: Italic
|
|
|
|
bold_italic:
|
|
family: monospace
|
|
|
|
size: 11.0
|
|
|
|
offset:
|
|
x: 0
|
|
y: 0
|
|
|
|
builtin_box_drawing: true # If `true`, Alacritty will use a custom built-in font
|
|
|
|
draw_bold_text_with_bright_colors: true
|
|
|
|
colors:
|
|
primary:
|
|
background: '#011627'
|
|
foreground: '#ffb2b7'
|
|
bright_foreground: '#eeeeee'
|
|
dim_foreground: '#828482'
|
|
bright_foreground: '#eaeaea'
|
|
|
|
cursor:
|
|
text: '#080808'
|
|
cursor: '#9ca1aa'
|
|
|
|
vi_mode_cursor:
|
|
text: CellBackground
|
|
cursor: CellForeground
|
|
|
|
search:
|
|
matches:
|
|
foreground: '#BD0000'
|
|
background: '#FAFA00'
|
|
focused_match:
|
|
foreground: '#BD0000'
|
|
background: '#FFFFFF'
|
|
|
|
hints:
|
|
|
|
start:
|
|
foreground: '#1d1f21'
|
|
background: '#e9ff5e'
|
|
end:
|
|
foreground: '#e9ff5e'
|
|
background: '#1d1f21'
|
|
|
|
line_indicator:
|
|
foreground: '#ff557f'
|
|
background: '#011627'
|
|
|
|
footer_bar:
|
|
background: '#c5c8c6'
|
|
foreground: '#1d1f21'
|
|
|
|
selection:
|
|
text: '#080808'
|
|
background: '#b2ceee'
|
|
|
|
normal:
|
|
black: '#1d3b53'
|
|
red: '#fc514e'
|
|
green: '#a1cd5e'
|
|
yellow: '#e3d18a'
|
|
blue: '#82aaff'
|
|
magenta: '#c792ea'
|
|
cyan: '#7fdbca'
|
|
white: '#a1aab8'
|
|
|
|
bright:
|
|
black: '#7c8f8f'
|
|
red: '#ff5874'
|
|
green: '#21c7a8'
|
|
yellow: '#ecc48d'
|
|
blue: '#82aaff'
|
|
magenta: '#ae81ff'
|
|
cyan: '#7fdbca'
|
|
white: '#d6deeb'
|
|
|
|
dim:
|
|
black: '#131415'
|
|
red: '#864343'
|
|
green: '#777c44'
|
|
yellow: '#9e824c'
|
|
blue: '#556a7d'
|
|
magenta: '#75617b'
|
|
cyan: '#5b7d78'
|
|
white: '#828482'
|
|
|
|
transparent_background_colors: true
|
|
|
|
bell:
|
|
animation: EaseOutExpo
|
|
duration: 0
|
|
color: '#ffffff'
|
|
|
|
selection:
|
|
save_to_clipboard: true
|
|
|
|
cursor:
|
|
style:
|
|
shape: Underline
|
|
blinking: Off
|
|
|
|
vi_mode_style: Block # See `cursor.style` for available options.
|
|
unfocused_hollow: false
|
|
thickness: 0.16
|
|
|
|
working_directory: None
|
|
|
|
ipc_socket: true # Offer IPC using `alacritty msg` (unix only)
|
|
|
|
mouse:
|
|
double_click: { threshold: 300 }
|
|
triple_click: { threshold: 300 }
|
|
hide_when_typing: true
|
|
|
|
hints:
|
|
|
|
alphabet: "jfkdls;ahgurieowpq" # Keys used for the hint labels.
|
|
|
|
enabled:
|
|
- regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
|
|
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
|
|
hyperlinks: true
|
|
command: xdg-open
|
|
post_processing: true
|
|
mouse:
|
|
enabled: true
|
|
# mods: None
|
|
binding:
|
|
key: U
|
|
mods: Control|Shift
|
|
|
|
mouse_bindings:
|
|
- { mouse: Right, action: ExpandSelection }
|
|
- { mouse: Right, mods: Control, action: ExpandSelection }
|
|
- { mouse: Middle, mode: ~Vi, action: PasteSelection }
|
|
|
|
# A full list with available key codes can be found here:
|
|
# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
|
|
key_bindings:
|
|
- { key: T, mods: Control|Shift, action: SpawnNewInstance }
|
|
- { key: H, mods: Control|Shift, action: Hide }
|
|
- { key: Q, mods: Control|Shift, action: Quit }
|
|
|
|
- { key: V, mods: Control|Shift, action: Paste }
|
|
- { key: C, mods: Control|Shift, action: Copy }
|
|
|
|
- { key: L, mods: Control|Shift, action: ClearLogNotice }
|
|
- { key: PageUp, mods: Control, mode: ~Alt, action: ScrollPageUp }
|
|
- { key: PageDown, mods: Control, mode: ~Alt, action: ScrollPageDown }
|
|
- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop }
|
|
- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
|
|
|
|
# Vi Mode
|
|
- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
|
|
- { key: Up, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
|
|
- { key: Down, mods: Control, mode: Vi|~Search, action: ScrollLineDown }
|
|
|
|
- { key: Up, mods: Control|Shift, mode: Vi|~Search, action: ScrollPageUp }
|
|
- { key: Down, mods: Control|Shift, mode: Vi|~Search, action: ScrollPageDown }
|
|
|
|
- { 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: Up, mode: Vi|~Search, action: Up }
|
|
- { key: Down, mode: Vi|~Search, action: Down }
|
|
- { key: Left, mode: Vi|~Search, action: Left }
|
|
- { key: Right, mode: Vi|~Search, action: Right }
|
|
|
|
- { 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: A, mode: Vi|~Search, action: SemanticLeft }
|
|
- { key: D, mode: Vi|~Search, action: SemanticRight }
|
|
- { key: F, mode: Vi|~Search, action: SemanticRightEnd }
|
|
|
|
- { key: A, mods: Shift, mode: Vi|~Search, action: WordLeft }
|
|
- { key: D, mods: Shift, mode: Vi|~Search, action: WordRight }
|
|
- { key: F, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
|
|
|
|
# Search Mode
|
|
- { key: Return, mode: Search|Vi, action: SearchConfirm }
|
|
- { key: Escape, mode: Search, action: SearchCancel }
|
|
- { key: C, mods: Control, mode: Search, action: SearchClear }
|
|
- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
|
|
|
|
- { key: Return, mode: Search, action: SearchHistoryPrevious }
|
|
- { key: Return, mods: Shift, mode: Search, action: SearchHistoryNext }
|
|
- { key: Down, mode: Search|~Vi, action: SearchFocusNext }
|
|
- { key: Up, mode: Search|~Vi, action: SearchFocusPrevious }
|
|
|
|
- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward }
|
|
- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward }
|
|
|
|
- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection }
|
|
- { key: Insert, mods: Shift, action: PasteSelection }
|
|
|
|
- { key: Key0, mods: Control, action: ResetFontSize }
|
|
- { key: Plus, mods: Control, action: IncreaseFontSize }
|
|
- { key: Minus, mods: Control, action: DecreaseFontSize }
|