338 lines
15 KiB
Text
338 lines
15 KiB
Text
# Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|
|
|
#env:
|
|
#TERM: alacritty
|
|
|
|
window:
|
|
#dimensions:
|
|
# columns: 0
|
|
# lines: 0
|
|
#position:
|
|
# x: 0
|
|
# y: 0
|
|
padding:
|
|
x: 5
|
|
y: 5
|
|
#dynamic_padding: true
|
|
decorations: full
|
|
#startup_mode: Windowed
|
|
#title: Alacritty
|
|
dynamic_title: true
|
|
#class:
|
|
#instance: Alacritty
|
|
#general: Alacritty
|
|
#gtk_theme_variant: None
|
|
opacity: 1
|
|
|
|
#scrolling:
|
|
#history: 10000
|
|
#multiplier: 3
|
|
|
|
font:
|
|
normal:
|
|
family: Perfect DOS VGA 437
|
|
style: Regular
|
|
bold:
|
|
style: Bold
|
|
italic:
|
|
style: Italic
|
|
bold_italic:
|
|
style: Bold Italic
|
|
size: 11
|
|
offset:
|
|
x: 0
|
|
y: 0
|
|
#glyph_offset:
|
|
# x: 0
|
|
# y: 0
|
|
|
|
draw_bold_text_with_bright_colors: false
|
|
|
|
colors:
|
|
primary:
|
|
background: '0x000000'
|
|
foreground: '0xaaaaaa'
|
|
|
|
normal:
|
|
black: '0x000000'
|
|
red: '0xaa0000'
|
|
green: '0x759438'
|
|
yellow: '0xde7e54'
|
|
blue: '0x3d67a2'
|
|
magenta: '0x7b5687'
|
|
cyan: '0x578c7c'
|
|
white: '0xaaaaaa'
|
|
|
|
bright:
|
|
black: '0x555555'
|
|
red: '0xff5555'
|
|
green: '0x97bd5e'
|
|
yellow: '0xf0c767'
|
|
blue: '0x789ebf'
|
|
magenta: '0xa97fb3'
|
|
cyan: '0x82bfb3'
|
|
white: '0xffffff'
|
|
|
|
selection:
|
|
text: CellBackground
|
|
background: CellForeground
|
|
|
|
cursor:
|
|
text: CellBackground
|
|
background: CellForeground
|
|
|
|
# Colors (Tomorrow Night)
|
|
#colors:
|
|
# Default colors
|
|
#primary:
|
|
# background: '#1d1f21'
|
|
# foreground: '#c5c8c6'
|
|
|
|
# Bright and dim foreground colors
|
|
#
|
|
# The dimmed foreground color is calculated automatically if it is not present.
|
|
# If the bright foreground color is not set, or `draw_bold_text_with_bright_colors`
|
|
# is `false`, the normal foreground color will be used.
|
|
#dim_foreground: '#828482'
|
|
#bright_foreground: '#eaeaea'
|
|
|
|
# Cursor colors
|
|
#
|
|
# Colors which should be used to draw the terminal cursor.
|
|
#
|
|
# Allowed values are CellForeground and CellBackground, which reference the
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
|
#cursor:
|
|
# text: CellBackground
|
|
# cursor: CellForeground
|
|
|
|
# Vi mode cursor colors
|
|
#
|
|
# Colors for the cursor when the vi mode is active.
|
|
#
|
|
# Allowed values are CellForeground and CellBackground, which reference the
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
|
#vi_mode_cursor:
|
|
# text: CellBackground
|
|
# cursor: CellForeground
|
|
|
|
# Selection colors
|
|
#
|
|
# Colors which should be used to draw the selection area.
|
|
#
|
|
# Allowed values are CellForeground and CellBackground, which reference the
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
|
#selection:
|
|
# text: CellBackground
|
|
# background: CellForeground
|
|
|
|
# Search colors
|
|
#
|
|
# Colors used for the search bar and match highlighting.
|
|
#
|
|
# Allowed values are CellForeground and CellBackground, which reference the
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
|
#search:
|
|
# matches:
|
|
# foreground: '#000000'
|
|
# background: '#ffffff'
|
|
#
|
|
# bar:
|
|
# background: CellForeground
|
|
# foreground: CellBackground
|
|
|
|
# Normal colors
|
|
#normal:
|
|
# black: '#1d1f21'
|
|
# red: '#cc6666'
|
|
# green: '#b5bd68'
|
|
# yellow: '#f0c674'
|
|
# blue: '#81a2be'
|
|
# magenta: '#b294bb'
|
|
# cyan: '#8abeb7'
|
|
# white: '#c5c8c6'
|
|
|
|
# Bright colors
|
|
#bright:
|
|
# black: '#666666'
|
|
# red: '#d54e53'
|
|
# green: '#b9ca4a'
|
|
# yellow: '#e7c547'
|
|
# blue: '#7aa6da'
|
|
# magenta: '#c397d8'
|
|
# cyan: '#70c0b1'
|
|
# white: '#eaeaea'
|
|
|
|
# Dim colors
|
|
#
|
|
# If the dim colors are not set, they will be calculated automatically based
|
|
# on the `normal` colors.
|
|
#dim:
|
|
# black: '#131415'
|
|
# red: '#864343'
|
|
# green: '#777c44'
|
|
# yellow: '#9e824c'
|
|
# blue: '#556a7d'
|
|
# magenta: '#75617b'
|
|
# cyan: '#5b7d78'
|
|
# white: '#828482'
|
|
|
|
# Indexed Colors
|
|
#
|
|
# The indexed colors include all colors from 16 to 256.
|
|
# When these are not set, they're filled with sensible defaults.
|
|
#
|
|
# Example:
|
|
# `- { index: 16, color: '#ff00ff' }`
|
|
#
|
|
#indexed_colors: []
|
|
|
|
#bell:
|
|
#animation: EaseOutExpo
|
|
#duration: 50
|
|
#color: '#000000'
|
|
#command: None
|
|
|
|
#selection:
|
|
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
|
#save_to_clipboard: false
|
|
|
|
# Allow terminal applications to change Alacritty's window title.
|
|
# dynamic_title: true
|
|
|
|
#cursor:
|
|
#style: Block
|
|
#vi_mode_style: None
|
|
#unfocused_hollow: true
|
|
#thickness: 0.15
|
|
|
|
#live_config_reload: true
|
|
|
|
#shell:
|
|
# program: /bin/bash
|
|
# args:
|
|
# - --login
|
|
|
|
#working_directory: None
|
|
|
|
#alt_send_esc: true
|
|
|
|
hints:
|
|
#alphabet: "jfkdls;ahgurieowpq"
|
|
enabled:
|
|
- regex: "(magnet|mailto|gemini|gopher|https|http|news|file|git|ssh|ftp):\
|
|
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
|
|
command: xdg-open
|
|
post_processing: true
|
|
mouse:
|
|
enabled: true
|
|
mods: None
|
|
binding:
|
|
key: U
|
|
mods: Control|Shift
|
|
|
|
#mouse:
|
|
#double_click: { threshold: 300 }
|
|
#triple_click: { threshold: 300 }
|
|
#hide_when_typing: false
|
|
|
|
key_bindings:
|
|
- { key: Return, mods: Control|Super, action: SpawnNewInstance }
|
|
#- { key: Paste, action: Paste }
|
|
#- { key: Copy, action: Copy }
|
|
#- { key: L, mods: Control, action: ClearLogNotice }
|
|
#- { key: L, mods: Control, mode: ~Vi, chars: "\x0c" }
|
|
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }
|
|
#- { key: PageDown, mods: Shift, 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: Vi, action: ScrollToBottom }
|
|
#- { key: Space, mods: Shift|Control, action: ToggleViMode }
|
|
#- { key: Escape, mode: Vi, action: ClearSelection }
|
|
#- { key: I, mode: Vi, action: ScrollToBottom }
|
|
#- { key: I, mode: Vi, action: ToggleViMode }
|
|
#- { key: Y, mods: Control, mode: Vi, action: ScrollLineUp }
|
|
#- { key: E, mods: Control, mode: Vi, action: ScrollLineDown }
|
|
#- { key: G, mode: Vi, action: ScrollToTop }
|
|
#- { key: G, mods: Shift, mode: Vi, action: ScrollToBottom }
|
|
#- { key: B, mods: Control, mode: Vi, action: ScrollPageUp }
|
|
#- { key: F, mods: Control, mode: Vi, action: ScrollPageDown }
|
|
#- { key: U, mods: Control, mode: Vi, action: ScrollHalfPageUp }
|
|
#- { key: D, mods: Control, mode: Vi, action: ScrollHalfPageDown }
|
|
#- { key: Y, mode: Vi, action: Copy }
|
|
#- { key: Y, mode: Vi, action: ClearSelection }
|
|
#- { key: Copy, mode: Vi, action: ClearSelection }
|
|
#- { key: V, mode: Vi, action: ToggleNormalSelection }
|
|
#- { key: V, mods: Shift, mode: Vi, action: ToggleLineSelection }
|
|
#- { key: V, mods: Control, mode: Vi, action: ToggleBlockSelection }
|
|
#- { key: V, mods: Alt, mode: Vi, action: ToggleSemanticSelection }
|
|
#- { key: Return, mode: Vi, action: Open }
|
|
#- { key: K, mode: Vi, action: Up }
|
|
#- { key: J, mode: Vi, action: Down }
|
|
#- { key: H, mode: Vi, action: Left }
|
|
#- { key: L, mode: Vi, action: Right }
|
|
#- { key: Up, mode: Vi, action: Up }
|
|
#- { key: Down, mode: Vi, action: Down }
|
|
#- { key: Left, mode: Vi, action: Left }
|
|
#- { key: Right, mode: Vi, action: Right }
|
|
#- { key: Key0, mode: Vi, action: First }
|
|
#- { key: Key4, mods: Shift, mode: Vi, action: Last }
|
|
#- { key: Key6, mods: Shift, mode: Vi, action: FirstOccupied }
|
|
#- { key: H, mods: Shift, mode: Vi, action: High }
|
|
#- { key: M, mods: Shift, mode: Vi, action: Middle }
|
|
#- { key: L, mods: Shift, mode: Vi, action: Low }
|
|
#- { key: B, mode: Vi, action: SemanticLeft }
|
|
#- { key: W, mode: Vi, action: SemanticRight }
|
|
#- { key: E, mode: Vi, action: SemanticRightEnd }
|
|
#- { key: B, mods: Shift, mode: Vi, action: WordLeft }
|
|
#- { key: W, mods: Shift, mode: Vi, action: WordRight }
|
|
#- { key: E, mods: Shift, mode: Vi, action: WordRightEnd }
|
|
#- { key: Key5, mods: Shift, mode: Vi, action: Bracket }
|
|
#- { key: Slash, mode: Vi, action: SearchForward }
|
|
#- { key: Slash, mods: Shift, mode: Vi, action: SearchBackward }
|
|
#- { key: N, mode: Vi, action: SearchNext }
|
|
#- { key: N, mods: Shift, mode: Vi, action: SearchPrevious }
|
|
|
|
# (Windows, Linux, and BSD only)
|
|
#- { key: V, mods: Control|Shift, action: Paste }
|
|
#- { key: C, mods: Control|Shift, action: Copy }
|
|
#- { key: F, mods: Control|Shift, action: SearchForward }
|
|
#- { key: B, mods: Control|Shift, action: SearchBackward }
|
|
#- { key: C, mods: Control|Shift, mode: Vi, action: ClearSelection }
|
|
#- { key: Insert, mods: Shift, action: PasteSelection }
|
|
#- { key: Key0, mods: Control, action: ResetFontSize }
|
|
#- { key: Equals, mods: Control, action: IncreaseFontSize }
|
|
#- { key: Add, mods: Control, action: IncreaseFontSize }
|
|
#- { key: Subtract, mods: Control, action: DecreaseFontSize }
|
|
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
|
|
|
# (Windows only)
|
|
#- { key: Return, mods: Alt, action: ToggleFullscreen }
|
|
|
|
# (macOS only)
|
|
#- { key: K, mods: Command, mode: ~Vi, chars: "\x0c" }
|
|
#- { key: Key0, mods: Command, action: ResetFontSize }
|
|
#- { key: Equals, mods: Command, action: IncreaseFontSize }
|
|
#- { key: Add, mods: Command, action: IncreaseFontSize }
|
|
#- { key: Minus, mods: Command, action: DecreaseFontSize }
|
|
#- { key: K, mods: Command, action: ClearHistory }
|
|
#- { key: V, mods: Command, action: Paste }
|
|
#- { key: C, mods: Command, action: Copy }
|
|
#- { key: C, mods: Command, mode: Vi, action: ClearSelection }
|
|
#- { key: H, mods: Command, action: Hide }
|
|
#- { key: M, mods: Command, action: Minimize }
|
|
#- { key: Q, mods: Command, action: Quit }
|
|
#- { key: W, mods: Command, action: Quit }
|
|
#- { key: N, mods: Command, action: SpawnNewInstance }
|
|
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
|
|
#- { key: F, mods: Command, action: SearchForward }
|
|
#- { key: B, mods: Command, action: SearchBackward }
|
|
|
|
#debug:
|
|
#render_timer: false
|
|
#persistent_logging: false
|
|
#log_level: Warn
|
|
#print_events: false
|