pinwheel: Bind only wanted keybindings in wezterm

This commit is contained in:
Alexander Heldt
2023-11-09 22:34:51 +01:00
parent 8d739fe5ba
commit 71399cd9e4

View File

@@ -37,6 +37,35 @@ in
bottom = 0,
}
config.disable_default_key_bindings = true
config.keys = {
{
key = 'C',
mods = 'CTRL|SHIFT',
action = wezterm.action.CopyTo "Clipboard",
},
{
key = 'V',
mods = 'CTRL|SHIFT',
action = wezterm.action.PasteFrom "Clipboard",
},
{
key = '+',
mods = 'CTRL',
action = wezterm.action.IncreaseFontSize,
},
{
key = '-',
mods = 'CTRL',
action = wezterm.action.DecreaseFontSize,
},
{
key = '0',
mods = 'CTRL',
action = wezterm.action.ResetFontSize,
},
}
return config
'';
};