You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
2.3 KiB
80 lines
2.3 KiB
import = ["~/.config/alacritty/themes/themes/solarized_dark.toml"] |
|
|
|
|
|
# [font.normal] |
|
# # family = "MesloLGS NF" |
|
# family = "MesloLGS Nerd Font Mono" |
|
# |
|
|
|
[font] |
|
normal.family = "MesloLGS Nerd Font Mono" |
|
bold.family = "MesloLGS Nerd Font Mono" |
|
italic.family = "MesloLGS Nerd Font Mono" |
|
bold_italic.family = "MesloLGS Nerd Font Mono" |
|
size = 18 |
|
offset.x = 1 |
|
|
|
|
|
# [window] |
|
# decorations = "none" |
|
|
|
# [window.padding] |
|
# x = 5 |
|
# y = 3 |
|
|
|
# window.dynamic_padding = true |
|
|
|
[window] |
|
dynamic_padding = true |
|
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" |
|
# decorations = "transparent" |
|
startup_mode = "Windowed" |
|
|
|
[scrolling] |
|
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" }, |
|
|
|
]
|
|
|