add new wezterm keybinds for pane splitting/closing

This commit is contained in:
Gered 2024-09-16 11:47:58 -04:00
parent a98c3b726e
commit 5775ca2267

View file

@ -61,6 +61,24 @@ config.font_size = 12
config.line_height = 1.0
config.freetype_load_target = "Light"
config.keys = {
{
key = "V",
mods = "CTRL|SHIFT|ALT",
action = wezterm.action.SplitVertical({ domain = "CurrentPaneDomain" }),
},
{
key = "H",
mods = "CTRL|SHIFT|ALT",
action = wezterm.action.SplitHorizontal({ domain = "CurrentPaneDomain" }),
},
{
key = "Q",
mods = "CTRL|SHIFT|ALT",
action = wezterm.action.CloseCurrentPane({ confirm = true }),
},
}
--------------------------------------------------------------------------------
-- borrowed from: https://github.com/protiumx/.dotfiles/blob/main/stow/wezterm/.config/wezterm/wezterm.lua