|
|
|
|
@ -30,6 +30,9 @@ padding.x = 5 |
|
|
|
|
padding.y = 3 |
|
|
|
|
dimensions.columns = 89 |
|
|
|
|
dimensions.lines = 41 |
|
|
|
|
# trick for alt not displaying special characters |
|
|
|
|
# https://github.com/alacritty/alacritty/issues/93#issuecomment-1428462339 |
|
|
|
|
option_as_alt = "Both" |
|
|
|
|
|
|
|
|
|
# decorations = "buttonless" |
|
|
|
|
# decorations = "full" |
|
|
|
|
@ -41,3 +44,37 @@ history = 20000 |
|
|
|
|
|
|
|
|
|
[selection] |
|
|
|
|
save_to_clipboard = true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# key bidnings |
|
|
|
|
# use xxd to find codes of key presses |
|
|
|
|
|
|
|
|
|
[keyboard] |
|
|
|
|
bindings = [ |
|
|
|
|
# tmux bindings |
|
|
|
|
# option 1 => ^A 1 |
|
|
|
|
{ key = "1" , mods = "Option", chars = "\u0001\u0031" }, |
|
|
|
|
{ key = "2" , mods = "Option", chars = "\u0001\u0032" }, |
|
|
|
|
{ key = "3" , mods = "Option", chars = "\u0001\u0033" }, |
|
|
|
|
{ key = "4" , mods = "Option", chars = "\u0001\u0034" }, |
|
|
|
|
{ key = "5" , mods = "Option", chars = "\u0001\u0035" }, |
|
|
|
|
{ key = "6" , mods = "Option", chars = "\u0001\u0036" }, |
|
|
|
|
{ key = "7" , mods = "Option", chars = "\u0001\u0037" }, |
|
|
|
|
{ key = "8" , mods = "Option", chars = "\u0001\u0038" }, |
|
|
|
|
{ key = "9" , mods = "Option", chars = "\u0001\u0039" }, |
|
|
|
|
{ key = "h" , mods = "Option", chars = "\u0001\u0068" }, |
|
|
|
|
{ key = "j" , mods = "Option", chars = "\u0001\u006a" }, |
|
|
|
|
{ key = "k" , mods = "Option", chars = "\u0001\u006b" }, |
|
|
|
|
{ key = "l" , mods = "Option", chars = "\u0001\u006c" }, |
|
|
|
|
{ key = "h" , mods = "Option|command", chars = "\u0001\u0068" }, |
|
|
|
|
{ key = "j" , mods = "Option|command", chars = "\u0001\u006a" }, |
|
|
|
|
{ key = "k" , mods = "Option|command", chars = "\u0001\u006b" }, |
|
|
|
|
{ key = "l" , mods = "Option|command", chars = "\u0001\u006c" }, |
|
|
|
|
|
|
|
|
|
{ key = "n" , mods = "Alt", chars = "\u0001\u006e" }, # alt+n -> C-a n |
|
|
|
|
{ key = "p" , mods = "Alt", chars = "\u0001\u0070" }, # alt+p -> C-a p |
|
|
|
|
|
|
|
|
|
{ key = "ArrowLeft", mods = "Command|Shift", action = "SelectPreviousTab" }, |
|
|
|
|
{ key = "ArrowRight", mods = "Command|Shift", action = "SelectNextTab" }, |
|
|
|
|
|
|
|
|
|
] |
|
|
|
|
|