alacritty fixes

This commit is contained in:
Dmitry Chumak
2025-04-23 20:21:06 +03:00
parent 04aef1e179
commit 909acaa69f
2 changed files with 23 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ multiplier = 3
[font]
size = 13
# use_thin_strokes = true
# on mac - https://petar.dev/notes/crisp-fonts-alacritty/
[font.normal]
family = "RecMonoLinear Nerd Font Mono"
@@ -86,5 +87,24 @@ bindings = [
{ key = "X", mods = "Command", chars = "\u0018" },
{ key = "Y", mods = "Command", chars = "\u0019" },
{ key = "Z", mods = "Command", chars = "\u001a" },
# Ctrl-LeftArrow escape sequence, ^[[1;5D
# \u001b: ESCAPE character
# \u005b: LEFT SQUARE BRACKET [
# \u0031: DIGIT ONE 1
# \u003b: SEMICOLON ;
# \u0035: DIGIT FIVE 5
# \u0044: LATIN CAPITAL LETTER D
{ key = "ArrowLeft", mods = "Command", chars = "\u001b\u005b\u0031\u003b\u0035\u0044" },
# Ctrl-RightArrow escape sequence, ^[[1;5D
# ^[[1;5C 27 0033 0x1b
# 91 0133 0x5b
# 49 0061 0x31
# 59 0073 0x3b
# 53 0065 0x35
# 67 0103 0x43
{ key = "ArrowRight", mods = "Command", chars = "\u001b\u005b\u0031\u003b\u0035\u0043" },
{ key = "ArrowDown", mods = "Command", chars = "\u001b\u005b\u0031\u003b\u0035\u0042" },
{ key = "F", mods = "Control", action = "ToggleMaximized" },
]