Skip to content

Instantly share code, notes, and snippets.

@penglei
Created June 25, 2023 03:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save penglei/bde957793da0584de35fb13c771e008a to your computer and use it in GitHub Desktop.
Save penglei/bde957793da0584de35fb13c771e008a to your computer and use it in GitHub Desktop.
alacritty config
font:
normal: {}
size: 18.0
hints:
enabled:
- binding:
key: U
mods: Control|Shift
command:
program: /Users/penglei/.local/bin/open-haskell-doc
hyperlinks: true
mouse:
enabled: true
mods: None
post_processing: true
regex: "file:///nix/store/.+ghc.+-doc/.+/html/[^)\n\r\t ]+"
- binding:
key: U
mods: Control|Shift
command:
args:
- -n
- -a
- Google Chrome
- --args
program: open
hyperlinks: true
mouse:
enabled: true
mods: None
post_processing: true
regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\0-\x1F\x7F-\x9F<>\"\\s{-}\\^⟨⟩`]+"
import:
- /Users/penglei/.config/alacritty/userlocal.yml
key_bindings:
- action: ToggleViMode
key: Space
mode: ~Search
mods: Control
- action: CreateNewWindow
key: "N"
mods: Command
- chars: "\ef"
key: F
mods: Alt
- chars: "\eb"
key: B
mods: Alt
- chars: "\eb"
key: H
mods: Alt
- chars: "\ed"
key: D
mods: Alt
- chars: "\eq"
key: Q
mods: Alt
- chars: "\ei"
key: I
mods: Alt
- chars: "\ev"
key: V
mods: Alt
- chars: "\eh"
key: H
mods: Alt
window:
decorations: buttonless
dynamic_title: false
opacity: 1.0
startup_mode: Maximized
title: "\U0001F604"
font:
offset:
y: -1
normal:
family: FiraCode Nerd Font Mono
style: Light
colors:
search:
matches:
foreground: "#ffffff"
background: "#ff00ff"
focused_match:
foreground: "#6e4962"
background: "#86d3ce"
shell:
program: /usr/bin/login
args: ["-flp", "penglei", "/bin/zsh", "-c", "exec -a -zsh /bin/zsh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment