wezterm: font config + new clipoard action

This commit is contained in:
Daniel Lundin 2022-04-19 11:04:09 +02:00
parent ab2823910b
commit f04e0c75e9

View file

@ -95,8 +95,9 @@ return {
{ {
italic = true, italic = true,
intensity = "Normal", intensity = "Normal",
-- font = font_with_fallback("Iosevka Aile", {weight="Regular", italic=true}) -- font = font_with_fallback("Iosevka Aile", {weight="Regular", italic=true})
font = font_with_fallback("Iosevka Term Curly Slab", {weight="Regular", italic=true}) font = font_with_fallback("Iosevka Term Curly Slab", {weight="Light", italic=true})
}, },
{ {
italic = true, italic = true,
@ -118,12 +119,12 @@ return {
font_size = 12.5, font_size = 12.5,
line_height = 1.1, line_height = 1.1,
initial_cols = 110, initial_cols = 119,
initial_rows = 49, initial_rows = 47,
window_padding = { window_padding = {
left = 0, left = 0,
right = 0, right = 0,
top = 21, top = 0,
bottom = 0, bottom = 0,
}, },
@ -153,7 +154,7 @@ return {
leader = { key="o", mods="CTRL|SHIFT", timeout_milliseconds=1000 }, leader = { key="o", mods="CTRL|SHIFT", timeout_milliseconds=1000 },
keys = { keys = {
{key="c", mods="ALT|SHIFT", action="Copy"}, {key="c", mods="ALT|SHIFT", action=wezterm.action{CopyTo="ClipboardAndPrimarySelection"}},
{key="v", mods="ALT|SHIFT", action="Paste"}, {key="v", mods="ALT|SHIFT", action="Paste"},
{key="n", mods="LEADER", action=wezterm.action{SpawnTab="CurrentPaneDomain"}}, {key="n", mods="LEADER", action=wezterm.action{SpawnTab="CurrentPaneDomain"}},
{key="c", mods="LEADER", action=wezterm.action{SpawnTab="CurrentPaneDomain"}}, {key="c", mods="LEADER", action=wezterm.action{SpawnTab="CurrentPaneDomain"}},