alacritty fixes
This commit is contained in:
@@ -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" },
|
||||
]
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g default-terminal "xterm-256color"
|
||||
set-option -gas terminal-overrides "*:Tc"
|
||||
set-option -gas terminal-overrides "*:RGB"
|
||||
set -g mouse on
|
||||
set -g set-clipboard external
|
||||
set -g escape-time 10 # https://www.johnhawthorn.com/2012/09/vi-escape-delays/
|
||||
|
||||
Reference in New Issue
Block a user