Selection
Docs
Files
Images
alacritty.toml
.config/alacritty/alacritty.toml
[general]
import = ["~/.local/state/dotfiles-theme/alacritty.toml"]
[env]
TERM = "xterm-256color"
[font]
size = 16
[font.normal]
family = "JetBrainsMono Nerd Font"
style = "Regular"
[font.bold]
family = "JetBrainsMono Nerd Font"
style = "Bold"
[font.italic]
family = "JetBrainsMono Nerd Font"
style = "Italic"
[window]
decorations = "None"
opacity = 0.85
padding = { x = 12, y = 12 }
# Vim-style buffer search. Gated to ~Vi so these stay out of the way once Vi
# mode is active β there you already get native /, ?, n, N.
[[keyboard.bindings]]
key = "/"
mods = "Control|Alt"
mode = "~Vi"
action = "SearchForward"
[[keyboard.bindings]]
key = "/"
mods = "Control|Alt|Shift"
mode = "~Vi"
action = "SearchBackward"
# tmux has no native "Super" modifier. These bindings translate Super+Alt
# window controls into the Ctrl+Alt sequences consumed by tmux.
[[keyboard.bindings]]
key = "J"
mods = "Super|Alt"
chars = "\u001b\u000a"
[[keyboard.bindings]]
key = "K"
mods = "Super|Alt"
chars = "\u001b\u000b"
[[keyboard.bindings]]
key = "T"
mods = "Super|Alt"
chars = "\u001b\u0014"
[[keyboard.bindings]]
key = "Q"
mods = "Super|Alt"
chars = "\u001b\u0011"
# Use a custom sequence so the session picker does not emit Ctrl+S/XOFF.
[[keyboard.bindings]]
key = "S"
mods = "Super|Alt"
chars = "\u001bRs"
[[keyboard.bindings]]
key = "N"
mods = "Super|Alt"
chars = "\u001bRn"
[[keyboard.bindings]]
key = "R"
mods = "Super|Alt"
chars = "\u001bRr"
[[keyboard.bindings]]
key = "X"
mods = "Super|Alt"
chars = "\u001bRx"
# Super+Alt+Shift+hjkl: pane resize (mirrors Hyprland's Super+Shift+hjkl
# window resize). Ctrl+Shift+letter is indistinguishable from Ctrl+letter at
# the byte level, so this sends custom sequences tmux registers as user-keys.
[[keyboard.bindings]]
key = "H"
mods = "Super|Alt|Shift"
chars = "\u001bRh"
[[keyboard.bindings]]
key = "J"
mods = "Super|Alt|Shift"
chars = "\u001bRj"
[[keyboard.bindings]]
key = "K"
mods = "Super|Alt|Shift"
chars = "\u001bRk"
[[keyboard.bindings]]
key = "L"
mods = "Super|Alt|Shift"
chars = "\u001bRl"