From a5b4ab1037e345ee8bb5105fc85f7408f85f1792 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Sat, 17 Jun 2023 18:24:34 -0400 Subject: [PATCH] wezter: Add shortcuts to spawn panes in the default domain --- wezterm/.config/wezterm/wezterm.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wezterm/.config/wezterm/wezterm.lua b/wezterm/.config/wezterm/wezterm.lua index 950624b..738c9b5 100644 --- a/wezterm/.config/wezterm/wezterm.lua +++ b/wezterm/.config/wezterm/wezterm.lua @@ -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' }, + }, }, }