wezter: Add shortcuts to spawn panes in the default domain

This commit is contained in:
Peter Cai 2023-06-17 18:24:34 -04:00
parent a20adc9424
commit a5b4ab1037
1 changed files with 12 additions and 0 deletions

View File

@ -27,5 +27,17 @@ return {
mods = 'CTRL|SHIFT',
action = wezterm.action.ReloadConfiguration,
},
-- Spawn panes in the **DEFAULT** domain
-- to use the current domain, use Ctrl + Alt + Shift + " or %
{
key = '"',
mods = 'CTRL|SUPER|ALT|SHIFT',
action = wezterm.action.SplitVertical { domain = 'DefaultDomain' },
},
{
key = '%',
mods = 'CTRL|SUPER|ALT|SHIFT',
action = wezterm.action.SplitHorizontal { domain = 'DefaultDomain' },
},
},
}