Skip to content

Instantly share code, notes, and snippets.

@aanari
Last active August 11, 2023 13:11
Show Gist options
  • Save aanari/42eaab88ec7c53956fea4ee97653f930 to your computer and use it in GitHub Desktop.
Save aanari/42eaab88ec7c53956fea4ee97653f930 to your computer and use it in GitHub Desktop.
Alacritty Config (WSL)
env:
TERM: xterm-256color-italic
WSLENV: TERM
shell:
program: wsl
scrolling:
history: 10000
window:
padding:
x: 2
y: 0
dynamic_padding: true
scrolling:
multiplier: 3
shell:
program: "C:\\Windows\\System32\\wsl.exe"
args:
- --cd ~
mouse:
hints:
mods: Command|Control
selection:
# This string contains all characters that are used as separators for
# "semantic words" in Alacritty.
semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
# When set to `true`, selected text will be copied to the primary clipboard.
save_to_clipboard: true
draw_bold_text_with_bright_colors: true
custom_cursor_colors: true
font:
size: 11.0
offset:
x: 0
y: 0
glyph_offset:
x: 0
y: 0
normal:
family: PragmataProMonoLiga Nerd Font
style: Regular
bold:
family: PragmataProMonoLiga Nerd Font
style: Bold
italic:
family: PragmataProMonoLiga Nerd Font
style: Italic
bold_italic:
family: PragmataProMonoLiga Nerd Font
style: Bold Italic
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 }
# Colors (Nord)
colors:
primary:
background: "#2e3440"
foreground: "#d8dee9"
dim_foreground: "#a5abb6"
cursor:
text: "#2e3440"
cursor: "#d8dee9"
vi_mode_cursor:
text: "#2e3440"
cursor: "#d8dee9"
selection:
text: CellForeground
background: "#4c566a"
search:
matches:
foreground: CellBackground
background: "#88c0d0"
footer_bar:
background: "#434c5e"
foreground: "#d8dee9"
normal:
black: "#3b4252"
red: "#bf616a"
green: "#a3be8c"
yellow: "#ebcb8b"
blue: "#81a1c1"
magenta: "#b48ead"
cyan: "#88c0d0"
white: "#e5e9f0"
bright:
black: "#4c566a"
red: "#bf616a"
green: "#a3be8c"
yellow: "#ebcb8b"
blue: "#81a1c1"
magenta: "#b48ead"
cyan: "#8fbcbb"
white: "#eceff4"
dim:
black: "#373e4d"
red: "#94545d"
green: "#809575"
yellow: "#b29e75"
blue: "#68809a"
magenta: "#8c738c"
cyan: "#6d96a5"
white: "#aeb3bb"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment