different new tab actions for wezterm

This commit is contained in:
Noah Masur committed 2024-06-21 17:08:25 -06:00
1 parent dec46bcc97
commit a387950c9a
1 file changed
+14
+14
View File
@@ -161,6 +161,20 @@
mods = 'SUPER', mods = 'SUPER',
action = wezterm.action.ToggleFullScreen action = wezterm.action.ToggleFullScreen
}, },
-- super-t open new tab in new dir
{
key = 't',
mods = 'SUPER',
action = wezterm.action.SpawnCommandInNewTab {
cwd = wezterm.home_dir,
},
},
-- shift-super-t open new tab in same dir
{
key = 't',
mods = 'SUPER|SHIFT',
action = wezterm.action.SpawnTab 'CurrentPaneDomain'
},
-- project switcher -- project switcher
{ {
key = 'P', key = 'P',