Skip to content

Instantly share code, notes, and snippets.

@catleeball
Created June 3, 2020 05:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save catleeball/137d80d581b9eac196f876cb66a16464 to your computer and use it in GitHub Desktop.
Save catleeball/137d80d581b9eac196f876cb66a16464 to your computer and use it in GitHub Desktop.
key_bindings:
# MacOS keybinds =====
# https://github.com/alacritty/alacritty/blob/master/alacritty.yml#L611-L626
- { key: N, mods: Command, action: SpawnNewInstance }
- { key: Q, mods: Command, action: Quit }
- { key: Key0, mods: Command, action: ResetFontSize }
- { key: Equals, mods: Command, action: IncreaseFontSize }
- { key: Add, mods: Command, action: IncreaseFontSize }
- { key: Minus, mods: Command, action: DecreaseFontSize }
selection:
save_to_clipboard: true
# Fira Code font =====
# https://github.com/tonsky/FiraCode
font:
normal:
family: Fira Code
style: Retina
bold:
family: Fira Code
style: Bold
size: 18.0
# Snazzy color theme =====
# https://github.com/alebelcor/alacritty-snazzy/blob/master/snazzy.yml
draw_bold_text_with_bright_colors: true
colors:
primary:
background: '0x282a36'
foreground: '0xeff0eb'
cursor:
cursor: '0x97979b'
selection:
text: '0x282a36'
background: '0xfeffff'
normal:
black: '0x282a36'
red: '0xff5c57'
green: '0x5af78e'
yellow: '0xf3f99d'
blue: '0x57c7ff'
magenta: '0xff6ac1'
cyan: '0x9aedfe'
white: '0xf1f1f0'
bright:
black: '0x686868'
red: '0xff5c57'
green: '0x5af78e'
yellow: '0xf3f99d'
blue: '0x57c7ff'
magenta: '0xff6ac1'
cyan: '0x9aedfe'
white: '0xeff0eb'
# ===== Archived Settings =====
# Fantasque font =====
# https://github.com/belluzj/fantasque-sans
# font:
# normal:
# family: Fantasque Sans Mono
# style: Regular
# bold:
# family: Fantasque Sans Mono
# style: Bold
# italic:
# family: Fantasque Sans Mono
# style: Italic
# size: 14.0
# Fairyfloss theme =====
# https://github.com/mxjessie/alacritty-fairyfloss/blob/master/alacritty-theme-fairyfloss.yml
#colors:
# primary:
# background: '#5a5475'
# foreground: '#f8f8f2'
# cursor:
# text: '#f8f8f2'
# cursor: '#c7b7c7'
# normal:
# black: '#3b3a32'
# red: '#f1756f'
# green: '#6de874'
# yellow: '#e6c000'
# blue: '#a381ff'
# magenta: '#ff87b1'
# cyan: '#7ef5b8'
# white: '#c7b7c7'
# bright:
# black: '#685868'
# red: '#ff9f9a'
# green: '#7bfa81'
# yellow: '#ffea00'
# blue: '#c5a3ff'
# magenta: '#ffb8d1'
# cyan: '#c2ffdf'
# white: '#ffefff'
# Ask Alacritty to use a login shell =====
# https://github.com/alacritty/alacritty/issues/772#issuecomment-327219853
# https://github.com/alacritty/alacritty/issues/772#issuecomment-344035668
# https://askubuntu.com/a/121075
# shell:
# program: /bin/zsh
# args:
# - --login
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment